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

Need to display an error if user types malformed date in RadDatePicker

1 Answer 50 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 12 Aug 2009, 08:23 AM
Hello,

The date is set to a default date if the user types in a wrongly formatted one in the RadDatePicker textbox (such as "2009-12-ORLY"). I would instead like to show an error message somehow, for example when the user then clicks the submit button. How do I stop the datepicker from going for a default date?

// Peter

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 12 Aug 2009, 09:20 AM
Hi Peter,

Validating the dates picked by the user can be done by using the standard ASP.NET validator controls.
Please find more information in the following article:
Validation

Greetings,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Calendar
Asked by
Peter
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or