Thursday, October 23, 2014

How To retain aspajax:CalendarExtender selected value after postback

Try This below snippet to retain the CalendarExtender selected value after postback

           YourCalendarExtender.SelectedDate =
                    DateTime.ParseExact(YourTextBox.Text, YourCalendarExtender.Format, null);

No comments:

Creative Commons License
Disclaimers:We have tried hard to provide accurate information, as a user, you agree that you bear sole responsibility for your own decisions to use any programs, documents, source code, tips, articles or any other information provided on this Blog.