Click here to Skip to main content
15,900,378 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Sending javascript variables on postback Pin
Sherin Iranimose16-Jul-08 5:01
Sherin Iranimose16-Jul-08 5:01 
GeneralRe: Sending javascript variables on postback Pin
Haim Nachum16-Jul-08 7:43
Haim Nachum16-Jul-08 7:43 
GeneralRe: Sending javascript variables on postback Pin
Sherin Iranimose16-Jul-08 19:44
Sherin Iranimose16-Jul-08 19:44 
GeneralRe: Sending javascript variables on postback Pin
Haim Nachum17-Jul-08 2:02
Haim Nachum17-Jul-08 2:02 
QuestionProblem with Ajax calendar control............... Pin
mcmilan16-Jul-08 2:55
mcmilan16-Jul-08 2:55 
AnswerRe: Problem with Ajax calendar control............... Pin
Gayani Devapriya16-Jul-08 3:24
Gayani Devapriya16-Jul-08 3:24 
GeneralRe: Problem with Ajax calendar control............... Pin
mcmilan16-Jul-08 18:18
mcmilan16-Jul-08 18:18 
GeneralRe: Problem with Ajax calendar control............... Pin
Gayani Devapriya17-Jul-08 21:12
Gayani Devapriya17-Jul-08 21:12 
Hi Mcmilan,

Shall we see whether the Ajax Calendar control passes the selected date to the Target Control?
Just try this and see.....
Here im going to use two pages. Page one will have a Calender control, text box and a button.
The date you select from the calendar control will be displayed in the text box and the button will redirect you to the page two.

[SamplePageOne.aspx]
<asp:ScriptManager ID="smTestSample" runat="server">
</asp:ScriptManager>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="TextBox1">
</cc1:CalendarExtender>
<asp:Button ID="Button1" runat="server" Text="Go to Next Page" OnClick="Button1_Click" />

[SamplePageOne.aspx.cs]
protected void Button1_Click(object sender, EventArgs e)
{
Session["MyDate"] = TextBox1.Text;
Response.Redirect("SamplePageTwo.aspx");
}

In the page two I will check if the session is null, and if not I wil write the value to the second page.
[SamplePageTwo.aspx.cs]
protected void Page_Load(object sender, EventArgs e)
{
if (Session["MyDate"] != null)
{
Response.Write(Session["MyDate"].ToString());
}
}

Hope it helps you,
Thanks,
Gayani
AnswerRe: Problem with Ajax calendar control............... Pin
bmchugh6616-Jul-08 3:38
bmchugh6616-Jul-08 3:38 
QuestionPassing values to window.open() Pin
mcmilan16-Jul-08 2:49
mcmilan16-Jul-08 2:49 
AnswerRe: Passing values to window.open() Pin
Imran Khan Pathan16-Jul-08 3:07
Imran Khan Pathan16-Jul-08 3:07 
AnswerRe: Passing values to window.open() Pin
Yusuf16-Jul-08 7:39
Yusuf16-Jul-08 7:39 
QuestionWindow.close() is not working with Mozilla Firefox Pin
mcmilan16-Jul-08 2:43
mcmilan16-Jul-08 2:43 
AnswerRe: Window.close() is not working with Mozilla Firefox Pin
Imran Khan Pathan16-Jul-08 3:09
Imran Khan Pathan16-Jul-08 3:09 
GeneralRe: Window.close() is not working with Mozilla Firefox Pin
bmchugh6616-Jul-08 3:46
bmchugh6616-Jul-08 3:46 
GeneralRe: Window.close() is not working with Mozilla Firefox Pin
mcmilan16-Jul-08 18:26
mcmilan16-Jul-08 18:26 
GeneralRe: Window.close() is not working with Mozilla Firefox Pin
Imran Khan Pathan16-Jul-08 20:02
Imran Khan Pathan16-Jul-08 20:02 
QuestionHow do i calculate the Start_cell_number and end_cell_number from Start_Display_datetime and end_display_datetime Pin
Rameez Raja16-Jul-08 2:07
Rameez Raja16-Jul-08 2:07 
AnswerRe: How do i calculate the Start_cell_number and end_cell_number from Start_Display_datetime and end_display_datetime Pin
Sherin Iranimose16-Jul-08 4:21
Sherin Iranimose16-Jul-08 4:21 
GeneralRe: How do i calculate the Start_cell_number and end_cell_number from Start_Display_datetime and end_display_datetime [modified] Pin
Rameez Raja16-Jul-08 18:34
Rameez Raja16-Jul-08 18:34 
QuestionHTML Tag rendering Pin
dews turner16-Jul-08 1:30
dews turner16-Jul-08 1:30 
AnswerRe: HTML Tag rendering Pin
Imran Khan Pathan16-Jul-08 2:04
Imran Khan Pathan16-Jul-08 2:04 
AnswerRe: HTML Tag rendering Pin
Venkatesh Mookkan16-Jul-08 2:05
Venkatesh Mookkan16-Jul-08 2:05 
GeneralRe: HTML Tag rendering Pin
dews turner16-Jul-08 4:27
dews turner16-Jul-08 4:27 
GeneralRe: HTML Tag rendering Pin
dews turner16-Jul-08 5:05
dews turner16-Jul-08 5:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.