Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
Thank you for confirming that there is no such indication on the grid. This really would be something useful to have instead of needing to drill down to a row or cell. Again it isn't a question of "how to" handle the events or validation, it is a status of the grid from higher abstraction.
The documentation doesn't have any reference to such in respect to the grid.
Mark
0
Maya
Telerik team
answered on 03 May 2011, 07:37 AM
Hello Mark,
RadGridView does take care of the validation, but only for the items in the view port. Consequently, it is not appropriate to have a general abstract property defining the presence of all validation errors.
However, depending on your particular scenario, you may implement a couple of possible approaches.
Firstly, you may implement INotifyDataErrorInfo/ IDataErorInfo Interfaces that will ensure asynchronous data validation. Afterwards, as you are the one to know when a particular item has failed validation, you may set the appropriate style for the corresponding row.
Yet another approach would be to call the ScrollIntoView()/ScrollIntoViewAsync() method, once an invalid item comes. However, in this case you may result in scrolling up and down a bunch of times depending on the number and place of the invalid items.
All the best,
Maya
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items