What are the future plans for validation with GridView? Do you plan to support multiple levels of validation, such as errors/warnings/information? I have a situation where my customers want to be warned of a value differential, but still want to be able to save their data.
7 Answers, 1 is accepted
0
Hello David,
We don't have such plans. However you can use Row/CellTemplateSelector and Row/CellStyleSelector properties to achieve this via a proper view model. For more information about selector properties you can take a look at this blog post.
All the best,
Nedyalko Nikolov
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.
We don't have such plans. However you can use Row/CellTemplateSelector and Row/CellStyleSelector properties to achieve this via a proper view model. For more information about selector properties you can take a look at this blog post.
All the best,
Nedyalko Nikolov
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.
0
David
Top achievements
Rank 1
answered on 29 Apr 2010, 05:14 PM
I don't see the CellTemplateSelector as available. When will the service pack including this be available?
0
David
Top achievements
Rank 1
answered on 29 Apr 2010, 06:41 PM
Ok, I've got a copy that has CellSytleSelector. How do I get the object that is bound to DataMemberBinding? The item that is passed to the style selector is the item bound to the row, not the cell. I need the object bound to the cell.
0
Hello,
The second argument is the cell itself.
Regards,
Vlad
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.
The second argument is the cell itself.
Regards,
Vlad
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.
0
David
Top achievements
Rank 1
answered on 30 Apr 2010, 04:31 PM
Unfortunately using a selector seems to be insufficient. It only fires when a cell comes into view. I would need it to fire anytime the cell had been edited or anytime a notifyonvalidation occured.
0
David Brenchley
Top achievements
Rank 1
answered on 16 Dec 2010, 09:48 PM
Bump
0
Hi David Brenchley,
Nedyalko Nikolov
the Telerik team
Indeed validation notifications provided by INotifyDataErrorInfo and (IDataErrorInfo + INotifyPropertyChanged) interfaces affects only visible items, because visual objects for items and cells are created only for visible ones.
You could use RowTemplate/StyleSelector which could be bound to a property which indicates that there is an error for this item, but again this will work only for visible items. You could by-pass this behavior if you turn off row and column virtualization. This is not recommended (but it is an option if you don't have large data with too much columns).
Nedyalko Nikolov
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF