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

Styling RadGridView validation with INotifyDataErrorInfo (cell)

2 Answers 130 Views
GridView
This is a migrated thread and some comments may be shown as answers.
TechInsights
Top achievements
Rank 1
TechInsights asked on 25 Jun 2013, 09:29 AM
Hi there,

I followed this discussion and link to get the styled validation running and it's almost there, there's just one (well, maybe two) issue(s) I can't really put my finger on right now.

The style used is taken from the thread above, verbatim.

First is too 'eager' styling after INotifyDataErrorInfo completes (since I'm using INotifyDataErrorInfo to validate each row's view model - so effectively all cells - in the intercepted 'RowEditEnded' event) , here's a reference picture and here's one after row view model validation . failed. Notice how all rows are lit up? None of them have the sliding popup on the exclamation marker, nor the popup with error, so I bet it's an easy style fix, but right now I don't have the time to explore it on my own, so I'm asking at the source.

[EDIT]: Peculiar thing, it seems to happen only on the first validation, then it works as expected.

Other thing is this errors marker, since the validation returns a List<string>, how could I easily customize this template to either not show the pop-up at all or show the error list?





2 Answers, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 28 Jun 2013, 01:33 PM
Hi,

Unfortunately with the supplied information I cannot figure out what is going on.
Could you please send me a sample project which I can debug on my side?
Thank you in advance.

P.S. In order to send a sample project you should open a separate support ticket.

Regards,
Nedyalko Nikolov
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 >>
0
TechInsights
Top achievements
Rank 1
answered on 04 Jul 2013, 11:23 AM
Hi there,

After updating to the latest controls set the problem automagically went away. I didn't even touch any other styles...

Anyway, I'm glad the issue got resolved one way or another.
Tags
GridView
Asked by
TechInsights
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
TechInsights
Top achievements
Rank 1
Share this question
or