I am in the process of upgrading the radcontrols to asp .net ajax.
The raddatetimepicker is causing problems with this.
the error i get is
Value of '1/1/0001 12:00:00 AM' is not valid for 'SelectedDate'. 'SelectedDate' should be between 'MinDate' and 'MaxDate'.
Parameter name: SelectedDate
i have three options to show a document
1) show document
2) hide document
3) show for date range (this one take a show start and show end date)
for the first two options we are saving null in the database and when this value is returned it throws the error mentioned above. it works fine for the third option.
any ideas as to how to return a null value for a raddatetimepicker when the value in the database is null??
Thanks!
The raddatetimepicker is causing problems with this.
the error i get is
Value of '1/1/0001 12:00:00 AM' is not valid for 'SelectedDate'. 'SelectedDate' should be between 'MinDate' and 'MaxDate'.
Parameter name: SelectedDate
i have three options to show a document
1) show document
2) hide document
3) show for date range (this one take a show start and show end date)
for the first two options we are saving null in the database and when this value is returned it throws the error mentioned above. it works fine for the third option.
any ideas as to how to return a null value for a raddatetimepicker when the value in the database is null??
Thanks!