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

RowValidation does not reset Color

3 Answers 54 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Li
Top achievements
Rank 1
Li asked on 14 Jun 2013, 01:17 PM
Hello Telerik team,

we updated silverlight project from Telerik version Q3 2010 SP1 to Telerik version Q1 2013 SP1.

We use RowValidation and validate the errors in the handling method RowValidating(object sender, GridViewRowValidatingEventArgs e).

If a row contains errors (multiple cells in one row are validated) - the e.IsValid flag will be set to false, and the e.ValidationResults gets the list with GridViewCellValidationResults. The row is marked with red background color, and in the tooltips all error messages are shown.

If then correct values are set in the marked row, in the RowValidating method the e.IsValid gets true, and the RowValidated Method will be called, too. But in the view the row is still marked in red.

By debugging we found out, that although in the RowValidating method the e.IsValid has the value true, the e.row.IsValid has still the value false and e.row.Errors keeps the list with errors.

The described problem did not occur with version Q3 2010 SP1.

What should we do to get the row vaidation working correctly again?
(We would prefer to still have the validation in the RowValidation method.)

Kind regards,
Li

3 Answers, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 19 Jun 2013, 10:22 AM
Hi Li,

I've tried to reproduce the problem you report but to no avail. I have prepared a sample project using the Q1 2013 SP1 version of our controls. Could you check it and modify it in order to demonstrate the issue? 

Regards,
Yoan
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Suren
Top achievements
Rank 1
answered on 29 Aug 2013, 01:13 AM
Hi Li 
We have similar issue with radgrid.
Did you fix the issue? 

Thanks
R
0
Vera
Telerik team
answered on 03 Sep 2013, 08:37 AM
Hi Suren,

Unfortunately, this issue is not fixed yet. I have logged it into our Public Issue Tracking System where you can track its status.



Regards,
Vera
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Li
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Suren
Top achievements
Rank 1
Vera
Telerik team
Share this question
or