| Calendar autopostback inside MS AJAX panel
|
|
| | |
Calendar autopostback when date is selected without page reload.
MS AJAX panel
Calendar
<< | Monday, January 05, 2009 | >> |
|
C# // register the calendar postback event inside Page_Load ScriptManager1.RegisterAsyncPostBackControl(Calendar1); // calendar date select event private void Calendar1_OnDateChanged(object sender, EventArgs e) { // your code here // do panel update after calendar postback UpdatePanel1.Update(); } ASPX <!-- place calendar inside MS AJAX update panel --> <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"> <ContentTemplate> <obout:Calendar runat="server" ID="Calendar1" AutoPostback="true" OnDateChanged="Calendar1_OnDateChanged" /> ... | | |
| "Your help has been amazing, and I really appreciate your quick help in fielding all my questions. My end product will be better because of it! Thank you!" |
Drew Forward | Business Process Architect |
| HeadCount Corporation |
| | |
|