Sunday, March 11, 2012

CalendarExtender Behaviour

Show some more context - what sits around the textbox ? Is it a permanent control or a dynamically loaded one ? And do you initialize it in some way on the server ? And finally - have you disabled viewstate somewhere ?

As far as I can see it does what you ask it to do - the moment the text changes, as caused by the calendarextender, the thing posts back, as you requested by setting the text_changed event + autopostback=true.


Hi:

This problem has being resolved. The problem was tieing the MaskEditExtender to the CalendarExtender and a validation group.
For some wierd reason once this was taken out it work as it should from client machines. I never noticed it on the development server as it was working fine there. Here is the new source:
<cc1:CalendarExtenderID="CalendarExtender1"
runat="server"
TargetControlID="txtDOB"
Format="yyyy.MM.dd">
</cc1:CalendarExtender>

<asp:ScriptManagerID="ScriptManager1"runat="server">

</asp:ScriptManager>

No comments:

Post a Comment