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

ErrorProvider & RadGridView

1 Answer 106 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Pawz
Top achievements
Rank 1
Pawz asked on 14 Mar 2008, 07:32 AM
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!

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 14 Mar 2008, 12:47 PM
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
Tags
GridView
Asked by
Pawz
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or