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

Prevent Selecting a Start Date greater then End Date

1 Answer 171 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Jeremie
Top achievements
Rank 1
Jeremie asked on 12 Apr 2011, 07:53 PM
Hello Telerik forums!

I am building a history screen where the user can select all items that have shipped between a start and end date.  To do this I have two RadDatePickers on my view and they are bound to StartDate and EndDate properties of the ViewModel (MVVM pattern with PRISM).  The classic problem I'm trying to solve is preventing the user from selecting a starting date that is greater then the ending date.  Can this be done with the RadDatePicker or should I just handle it in my ViewModel?

Thanks,
Jeremie

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 13 Apr 2011, 11:04 AM
Hi Jeremie,

Please check this online example which demonstrates how to implement data validation in RadDateTimePicker.

Hope this helps.

All the best,
Yana
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
DatePicker
Asked by
Jeremie
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or