RowValidation does not reset Color

4 posts, 0 answers
  1. Li
    Li avatar
    46 posts
    Member since:
    Feb 2011

    Posted 14 Jun 2013 Link to this post

    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
  2. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 19 Jun 2013 Link to this post

    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.

  3. DevCraft banner
  4. Suren
    Suren avatar
    1 posts
    Member since:
    Aug 2013

    Posted 28 Aug 2013 Link to this post

    Hi Li 
    We have similar issue with radgrid.
    Did you fix the issue? 

    Thanks
    R
  5. Vera
    Admin
    Vera avatar
    263 posts

    Posted 03 Sep 2013 Link to this post

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