RadGridView DataTable and IDataErrorInfo

4 posts, 0 answers
  1. Ed James
    Ed James avatar
    9 posts
    Member since:
    Sep 2008

    Posted 13 Dec 2013 Link to this post

    I have a DataTable bound to a RadGridView. I wish to display data errors for all rows on load.

    When I create my DataTable I validate it, and if a cell has an error I call the following:

    row.SetColumnError(1, "This cell has an error");

    I can't get this to show up in the grid. How can I do this with a DataTable?

    Thanks
  2. Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 13 Dec 2013 Link to this post

    Hello Ed,

    I can suggest you to check this forum thread where this question has already been discussed.

    Regards,
    Yoan
    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. UI for WPF is Visual Studio 2017 Ready
  4. Ed James
    Ed James avatar
    9 posts
    Member since:
    Sep 2008

    Posted 14 Dec 2013 Link to this post

    Thanks, that did the trick.
  5. Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 16 Dec 2013 Link to this post

    Hi Ed,

    Thank you for the update. Please if you face any difficulties do not hesitate to contact us.


    Regards,
    Yoan
    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 >>
Back to Top