Is it possible for a user to type a non-date value (e.g. [EMPTY]) in the DateTimePicker? I tried everything I could think of, but it always formats the first bracket to a date value.
1 Answer, 1 is accepted
0
Dimitar
Telerik team
answered on 07 Aug 2013, 10:42 AM
Hi Paul,
Thank you for writing.
You can set the NullableValue property to null, this way when RadDateTimePicker is not focused it will show its NullText which is an empty string by default. In case RadDateTimePicker is selected it will show you the last entered date which will allow the user to edit and enter the new date. Setting the NullableValue to null is the only case where the control can hold a non-datetime value.
I hope this helps. Should you have any other questions do not hesitate to ask.
Regards,
Dimitar
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>