Hello,
I have a problem to validate a DatePicker. There it is :
If the user enters a invalid DateTime, the DatePicker's value returns null, but I want to know what he entered to do something about it.
I cannot deal with a null value because my datepicker can be empty wich is also a null value.
Exemple : if the user enters 62/01/2012, the value of the datepicker is null and I want to get 62/01/2012 even if it's wrong.
So, any ideas on how I can either get the wrong value or even get to know directly from the datepicker if the value is valid?
I have a problem to validate a DatePicker. There it is :
If the user enters a invalid DateTime, the DatePicker's value returns null, but I want to know what he entered to do something about it.
I cannot deal with a null value because my datepicker can be empty wich is also a null value.
Exemple : if the user enters 62/01/2012, the value of the datepicker is null and I want to get 62/01/2012 even if it's wrong.
So, any ideas on how I can either get the wrong value or even get to know directly from the datepicker if the value is valid?