Bug in ClearValidationError()

2 posts, 0 answers
  1. Grayson Mitchell
    Grayson Mitchell avatar
    12 posts
    Member since:
    Jun 2009

    Posted 04 Mar 2011 Link to this post

    If you add multiple validation errors for this control, then try and clear them the control starts acting oddly (it only removes one instance of the validation errors, and validation display is only partial)

    Is there a way around this bug?

    i.e.
    reportedDate.SetValidation("Date cannot be set to future date.");
    reportedDate.RaiseValidationError();
    reportedDate.SetValidation("ReportedDate cannot be BEFORE occurred date.");
    reportedDate.RaiseValidationError();

    //sometime later
    reportedDate.ClearValidationError();
  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 07 Mar 2011 Link to this post

    Hello Grayson Mitchell,

    Can you send your custom code or just a part of it containing the DatePicker itself so we can get familiar with the issue you are facing.

    Best wishes,
    Kaloyan
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. DevCraft banner
Back to Top