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

Duplicate Validation Messages

3 Answers 34 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Stevo
Top achievements
Rank 1
Stevo asked on 05 Nov 2013, 06:35 PM
Hi,

we are doing standard validation using WPF INotifyDataErrorInfo and IDataErrorInfo interfaces on row values.
The validation messages display correctly, however are always duplicated (see attached pic). 

The column definition looks like this:

<telerik:GridViewDataColumn Header="Version" DataMemberBinding="{Binding Version}" IsReadOnly="True"/>

Any idea why this could be happening?

Note that the INotifyDataErrorInfo GetErrors() is only returning one item for the column

Regards,
Stevo

 

 

 

 

 

3 Answers, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 07 Nov 2013, 11:33 AM
Hi Stevo,

I would suggest you to check this forum thread where this question has already been discussed.

Regards,
Yoan
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
Stevo
Top achievements
Rank 1
answered on 07 Nov 2013, 11:49 AM
Hi Yoan,

so the current state of play is you know about the problem, you've let people to vote about fixing it and I can see that the voting is not locked down so you're not going to fix it, correct?

http://www.telerik.com/support/pits.aspx#/public/wpf/13225

Regards,
Stevo
0
Yoan
Telerik team
answered on 07 Nov 2013, 03:58 PM
Hi Stevo,

Actually, this is not a problem with RadGridView. As you can see from the other forum post, this was logged as a feature request (not a bug ) in our Public Issue Tracking System.

The problem comes from the fact that you are using both interfaces - INotifyDataErrorInfo and IDataErrorInfo. In this case, I can suggest you to use only INotifyDataErrorInfo interface.


Regards,

Yoan
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 >>
Tags
GridView
Asked by
Stevo
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Stevo
Top achievements
Rank 1
Share this question
or