Hi,
I am debugging an application that has just been upgraded to the ASP.NET AJAX controls from Classic. I ran into the following problem. I have these two lines of code:
The second line gives me an error. "Value of '1/1/0001 12:00:00 AM' is not valid for 'SelectedDate'. 'SelectedDate' should be between 'MinDate' and 'MaxDate'.\r\nParameter name: SelectedDate"
According to MSDN "01/01/0001" is a legitimate minimum value of the System.DateTime(). So, I am wondering if there is something I am missing with my RadDatePicker.
Thanks,
Olga
I am debugging an application that has just been upgraded to the ASP.NET AJAX controls from Classic. I ran into the following problem. I have these two lines of code:
RadDatePicker minValDate = new RadDatePicker();
minValDate.SelectedDate = new System.DateTime();
The second line gives me an error. "Value of '1/1/0001 12:00:00 AM' is not valid for 'SelectedDate'. 'SelectedDate' should be between 'MinDate' and 'MaxDate'.\r\nParameter name: SelectedDate"
According to MSDN "01/01/0001" is a legitimate minimum value of the System.DateTime(). So, I am wondering if there is something I am missing with my RadDatePicker.
Thanks,
Olga