ASP.NET Ajax: 2012.1.215.40
I used a bounded RadDatePicker inside a DetailsView with the following parameters:
SelectedDate='<%#Bind("Birthday") %>' SkipMinMaxDateValidationOnServer="true" MinDate="1900-01-01"></
Initially, the "Birthday" property from datasource is DateTime.MinValue.
When I turn the DetailsView from ReadOnly to Edit mode, the RadDatePicker text box displays the value "01/01/0001 00:00:00" and its border becomes red with a warning triangle in the right.
I would like that when my "Birthday" property is set to DateTime.MinValue and the DetailsView is bound in Edit mode, the RadDatePicker empties its text box in place of displaying the red border. But when the user enters a date smaller than MinDate, the normal behaviour remains, ie red border is displayed.
How can I do this?