ErrorProvider & RadGridView

2 posts, 0 answers
  1. Pawz
    Pawz avatar
    51 posts
    Member since:
    Aug 2007

    Posted 14 Mar 2008 Link to this post

    Just a question, I'm not really sure how to do this.

    I have a datasource that raises errors if the data is incorrect, and I have hooked up regular radtextbox controls to this datasource. Adding in an ErrorProvider control works great for this situation - the errorprovider nicely shows the error icon on the appropriate controls.

    However, I then moved on to adding a radGridView to my form - and I'm not sure how to display data errors to the user with it. I can't assign the error provider control to it.. so, basically, I'm wondering if there's a property or way for me to validate the data entry and alert the user via an icon or something, on the grid itself?

    I'm kind of thinking of something like the grid the Microsoft SQL Server Management Studio uses - where if you input the wrong data, that 'error' icon shows up in the cell until you fix it. How would I do that with the radGridView?

    thanks for any help!
  2. Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 14 Mar 2008 Link to this post

    Hi Pawz,

    Thank you for writing.

    Currently, this behavior is not supported in RadGridView. We are planning to implement ErrorProvider and extend the validation mechanism for RadGridView after the Q1 2008 release.

    In the current version of RadGridView, you may handle the DataError event and implement your own logic for user notification.

    If you have any other questions, please contact me.

    Kind regards,
    Julian Benkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top