I am developing a ASP.NET web site, in which I have used a AJAX control Tool kit’s CalendarExtender to select a date in asp:TextBox. I want to set the VisibleDate property of the asp:Calendar control based on the selected date from the CalendarExtender control. I request you to help me to achieve this functionality.
Or Is there any way to post back the page on selection of date from CalendarExtender control so that I can handle TextChanged event in the codebehind and set the VisibleDate property at within this event handler?
Thanks
I am developing a ASP.NET web site, in which I have used a AJAX
Share
I would use an asynchronous postback on TextChanged-event to set the VisibleDate property:
aspx:
codebehind:
On this way it keeps performant and you don’t have to mess around with javascript that might change in future releases of asp.net-ajax toolkit.