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

GridView not register on INotifyDataErrorInfo from underlying Objects

1 Answer 58 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Lothar
Top achievements
Rank 1
Lothar asked on 06 May 2011, 01:21 PM
Hello Telerik team,

first i will thank you for your great work. For all problems i had with telerik till now, i could find the solution in Documentation, the Blogs or this Forum. But now i had a problem which i could not solve.

I use a GridView for displaying viewmodels which had self viewmodels from which i need some data. For validation i use the INotifyDataErrorInfo-Interface. Buit the GridView doesn't register itself on the ErrorsChanged-Event from the viewmodels which are not direct in the datacontext from a row.

Example:
<telerik:RadGridView  ItemsSource="{Binding List}"  AutoGenerateColumns="false">
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn  DataMemberBinding="{Binding Name}"/>
        <telerik:GridViewDataColumn  DataMemberBinding="{Binding CurrentYear.Value}"/>
    </telerik:RadGridView.Columns>
</telerik:RadGridView>
If the CurrentYear-ViewModel has an error, which can occure asynchrone, the GridView doesn't notice it.

In the Version from 2010 Q3 SP1 this works correctly, but now i test with the 2011 Q1 SP1-Trial this problem occure.

Best wishes

Lothar

1 Answer, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 10 May 2011, 02:56 PM
Hi Lothar,

This sounds very strange. I've just checked a similar scenario and it is working fine on my end. Could you please send me a sample project, which I can debug on my side in order to see what is going on?

P.S. You have to open a separate "support" ticket in order to be able to attach files. Thank you in advance.

Greetings,
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
Tags
GridView
Asked by
Lothar
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Share this question
or