Prevent Selecting a Start Date greater then End Date

2 posts, 0 answers
  1. Jeremie
    Jeremie avatar
    13 posts
    Member since:
    Apr 2011

    Posted 12 Apr 2011 Link to this post

    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?

  2. Yana
    Yana avatar
    4548 posts

    Posted 13 Apr 2011 Link to this post

    Hi Jeremie,

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

    Hope this helps.

    All the best,
    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
  3. DevCraft banner
Back to Top