This is a migrated thread and some comments may be shown as answers.

DatePicker and DateTime Validation

0 Answers 166 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Alexandre
Top achievements
Rank 1
Alexandre asked on 09 May 2012, 07:59 PM
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?

No answers yet. Maybe you can help?

Tags
Date/Time Pickers
Asked by
Alexandre
Top achievements
Rank 1
Share this question
or