7 Answers, 1 is accepted
0
Hello Steve,
Maya
Telerik
Will it be possible to carify what the exact behavior you want to get is ? Do you want just to display the errors in a separate control below the grid for example ?
Maya
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 >>
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 >>
0
Steve
Top achievements
Rank 1
answered on 09 Jul 2013, 05:27 PM
Yes, in as a separate control under the grid, as it is with the data form. The main thing is how to map the grid validation to it.
Thanks,
Steve
Thanks,
Steve
0
Hello Steve,
Maya
Telerik
You will need to expose a collection property to keep track of the errors in the grid and bind it to the validation summary. However, you can just create an ItemsControl for example and bind it to those errors without the need to work with DataFormValidationSummary.
Maya
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 >>
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 >>
0
Steve
Top achievements
Rank 1
answered on 12 Jul 2013, 09:26 PM
I assume that for validating user input, the best course of action is to handle the CellValidated event and add the ValidationResult to a collection, but if existing data (from a data source) is invalid (exceeds valid string length), how can I get at that ValidationResult?
Thanks in advance,
Steve
Thanks in advance,
Steve
0
Hello Steve,
Maya
Telerik
Will it be possible to clarify how you get this error ? Do you work with DataAnnotation and set Length restriction or you perform check in the property setter for example ?
Maya
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 >>
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 >>
0
Steve
Top achievements
Rank 1
answered on 17 Jul 2013, 05:14 PM
I use DataAnnotations.
Thanks,
Steve
Thanks,
Steve
0
Hello Steve,
Maya
Telerik
In this case my recommendation is to take a look at one of those articles (link 1, link 2, link 3).
Maya
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 >>
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 >>