ASP.NET - Regarding AjaxToolKit CalendarExtender

Asked By Dayakar on 05-May-10 06:10 AM

hi,

I am using ajaxToolkit:CalendarExtender, in that also i am having asp: textbox control.
when i typed invalid date like 11/36/2010(mm/dd/yyyy) fromat i am showing the proper error message, but the textbox contains 12/31/1969 value instead of 11/36/2010.

can anyone knows the solution for this, please let me know. If i give any invalid date always it is showing 12/31/1969. I did not understand how come the textbox retains this value. But when open view source code that time texbox value contains invalid date only.


Web Star replied to Dayakar on 05-May-10 06:15 AM
this is the default value showing when your input date is invalid . that is ok
why u wnat to store invalid date in textbox, because invalid date doesn't have any meanning.