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

Allow empty datetime value when validating the RadDateTimePicker control

1 Answer 70 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 26 Oct 2010, 10:43 PM
Hello,
I have read and studied how to validate the value pasted from RadDateTimePicker control in your demo.  Our scenario is a bit difference.  We allow user to leave the empty DateTime value.  How do we allow it? 

Thanks
John.

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 29 Oct 2010, 08:20 AM
Hi John,

There is nothing special to do in supporting an empty value. The SelectedValue property is of Nullable type, that means that you can leave it as a null value. Let us know what is your particular case.

Kind regards,
Kaloyan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
DateTimePicker
Asked by
John
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or