Sunday, March 11, 2012

CalendarExtender in a GridView inside an UpdatePanel

I am having the same prob;em. Did anyone ever figure this out?
I am having the same problem. Did anyone ever figure this out?

I put this snippet of html above the UpdatePanel before any Calendars are loaded and it seemed to resolve the issue. Not an elegant solution, but it worked.

<div style="display: none;" > <asp:TextBox runat="server" ID="hiddenTextBox1" /> <ajaxToolkit:CalendarExtender ID="hiddenTextBoxCE" runat="server" TargetControlID="hiddenTextBox1" /></div>


jmaag:

I put this snippet of html above the UpdatePanel before any Calendars are loaded and it seemed to resolve the issue. Not an elegant solution, but it worked.

<div style="display: none;" > <asp:TextBox runat="server" ID="hiddenTextBox1" /> <ajaxToolkit:CalendarExtender ID="hiddenTextBoxCE" runat="server" TargetControlID="hiddenTextBox1" /></div>

Thank you! I was having the same problem but with a calender extender inside a multiview inside an update panel. Your advice fixed my problems immediatly


Elegant or not, it works! lovin it...

Its not working for me. Is there any other workaround?

No comments:

Post a Comment