RadDateInput validation

4 posts, 0 answers
  1. Bob
    Bob avatar
    87 posts
    Member since:
    Jan 2008

    Posted 07 Apr 2008 Link to this post

    I am using the RadDateInput control.  If I key in a date such as, 2/33/2008, the date is highlighted in red.  How can I also display an error message?  I would like to use something like the ValidationSummary and RequiredFieldControl controls in ASP.Net.  Is there something similar in telerik or should I just go on and use the ASP.Net validation controls?

  2. Konstantin Petkov
    Konstantin Petkov avatar
    1911 posts

    Posted 08 Apr 2008 Link to this post

    Hi Bob,

    You can hook the OnError client event, check if this is a parsing error and perform some custom actions there. Find a demo demonstrating that below:


    You can also assign client validation controls to the RadInput components as shown here:


    Konstantin Petkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Jan
    Jan avatar
    7 posts
    Member since:
    Jan 2014

    Posted 25 Apr 2016 in reply to Konstantin Petkov Link to this post

    Error 404.
  4. Viktor Tachev
    Viktor Tachev avatar
    2497 posts

    Posted 27 Apr 2016 Link to this post

    Hi Jan,

    You can find an online demo illustrating the client-side events of RadDateInput below.

    Additional information regarding the OnError event is available in this article.

    If you would like additional information on the default validation used by the DateInput you would find the following article interesting.

    Viktor Tachev
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top