RadGridView with IDataErrorInfo validate just visible cells

10 posts, 0 answers
  1. Mano Sadeh
    Mano Sadeh avatar
    12 posts
    Member since:
    May 2010

    Posted 20 Jan 2014 Link to this post

    Hey,



    We have a business object that implements IDataErrorInfo. The Grid validate just the visible cells. If a column that it is not visible (the user needs to scroll) has error, the entire row shows as a valid row. Just when to user scroll (horizontally) the row display as a invalid row.



    see the attached screen shots.



    Any idea how to fix this?



    Thanks,

    Mano



















  2. Vera
    Admin
    Vera avatar
    268 posts

    Posted 21 Jan 2014 Link to this post

    Hello Mano,

    Could you clarify which version of RadControls for WPF you are currently using? We had some similar issues before but they were fixed.

    Regards,
    Vera
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    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 >>
  3. Mano Sadeh
    Mano Sadeh avatar
    12 posts
    Member since:
    May 2010

    Posted 27 Jan 2014 in reply to Vera Link to this post

    We are using the latest .NET 3.5 WPF Controls:

    RadControls for WPF Q2 2012 SP2
    Thanks,
    Mano
  4. Vera
    Admin
    Vera avatar
    268 posts

    Posted 30 Jan 2014 Link to this post

    Hello Mano,

    Indeed, the problem can be reproduced with the version you are currently using. The only way to go is to migrate to a newer one. Our Q3 2013 SP2 was just released but there are some validation issues we are currently working on and the fixes will be available with Q1 2014 (expected till the end of February). I would suggest you to download Q3 2013 SP1 and to give it a try.

    Please let us know in case you experience any other problems.


    Regards,
    Vera
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    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 >>
  5. Mano Sadeh
    Mano Sadeh avatar
    12 posts
    Member since:
    May 2010

    Posted 30 Jan 2014 in reply to Vera Link to this post

    We are using .NET 3.5 and we can't move to .NET 4.0 yet. Anyway this can be fixed with .NET 3.5?

    Thanks,
    Mano
  6. Vera
    Admin
    Vera avatar
    268 posts

    Posted 31 Jan 2014 Link to this post

    Hi Mano,

    As it turns out, we cannot suggest you any workaround in this case. What you can do is to use another validation approach (DataAnnotations Attributes, INotifyDataErrorInfo, etc.) or to check whether your validation has failed and to set the row as invalid in RowValidating event.

    Regards,
    Vera
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    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 >>
  7. Vivek
    Vivek avatar
    7 posts
    Member since:
    Apr 2013

    Posted 13 May 2014 Link to this post

    Hi Vera,

    We're currently using the new Q1'14 controls and we still have an issue with validation errors only showing for visible cells.

    Specifically, columns 6-9 have validation errors, but only cols 1-4 are visible (we don't have the window maximized). The row(s) will glow red to indicate an error and you'll see the red error icon in the very first column, but when you go to hover over it, no tooltip pops up to show you the errors. However, if we scroll to bring cols 6-9 in view, then hovering over the icon displays the list of errors.
  8. Yoan
    Admin
    Yoan avatar
    1213 posts

    Posted 15 May 2014 Link to this post

    Hi Vivek,

    In order to resolve your problem, may I ask you which method for validation you are using? It will be great if you can send us a sample project which reproduces the problem. We will debug it on our side and will check what is going on.

    Looking forward to hearing from you.


    Regards,
    Yoan
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  9. Vivek
    Vivek avatar
    7 posts
    Member since:
    Apr 2013

    Posted 19 May 2014 in reply to Yoan Link to this post

    Hi Yoan,

    Sure, I submitted a support ticket (#821162) with the sample project attached.

    Thanks!
  10. Yoan
    Admin
    Yoan avatar
    1213 posts

    Posted 22 May 2014 Link to this post

    Hello Vivek,

    I have already answered your support ticket.

    Regards,
    Yoan
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top