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

Date Validation

1 Answer 48 Views
This is a migrated thread and some comments may be shown as answers.
Raymond
Top achievements
Rank 1
Raymond asked on 18 Jun 2008, 05:39 PM
I set the maxdate property of the datepicker and it does not allow to select any date greater than when clicking the calendar image.

When I enter a date greater than maxdate, it does show the text box bounded by redline.

However, I leave the invalid date and click on save button, it does allow me to fire the event associated with the save button. How do I prevent this happenings?

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 19 Jun 2008, 12:47 PM
Hi Raymond,

A possible approach could be to catch the OnError client event and process an appropriate actions afterwards.
Please take a look at the example attached to this post and let me know whether it works for you.

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Asked by
Raymond
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or