This is a migrated thread and some comments may be shown as answers.

Bug in ClearValidationError()

1 Answer 32 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Grayson Mitchell
Top achievements
Rank 1
Grayson Mitchell asked on 05 Mar 2011, 03:12 AM
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();

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 07 Mar 2011, 10:43 AM
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!
Tags
DatePicker
Asked by
Grayson Mitchell
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or