How to provided a min/max date validation message?

2 posts, 0 answers
  1. Jeff
    Jeff avatar
    86 posts
    Member since:
    Feb 2008

    Posted 14 Sep 2010 Link to this post

    Currently our date pickers have a min/max date set.  When the user enters a bad date they are greeted with the red box and the yellow warning symbol within the data picker.  This is just like this demo site, when you enter 1/1/0050

    Here is the deal.  The users are asking what is wrong wtih that data input.
    Is there a way to provided an aditional validation message to the user that 'the date must be between [1/1/1000] and [1/1/3000]'?

    Thanks for the help.

  2. Iana Tsolova
    Iana Tsolova avatar
    3388 posts

    Posted 15 Sep 2010 Link to this post

    Hello Tim,

    In order to display a more user friendly messgae, you can either use a RangeValidator, or handle the OnError client-side event of the RadDateInput.

    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
Back to Top