Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > DatePicker > Prevent Selecting a Start Date greater then End Date

Not answered Prevent Selecting a Start Date greater then End Date

Feed from this thread
  • Jeremie avatar

    Posted on Apr 12, 2011 (permalink)

    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

    Reply

  • Yana Yana admin's avatar

    Posted on Apr 13, 2011 (permalink)

    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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > DatePicker > Prevent Selecting a Start Date greater then End Date
Related resources for "Prevent Selecting a Start Date greater then End Date"

WPF DatePicker Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]