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

RadGridView sometimes duplicates data from ObservableCollection

3 Answers 235 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Pavel
Top achievements
Rank 1
Pavel asked on 02 Oct 2013, 01:41 PM
Hello.

I use control GridView (RadControls for WPF v2013.1.403.4 (Dev))
As source I bound ObservableCollection.
Sometimes after hard manupulating with data in my ObservableCollection I get duplicates in Grid rows.
In such case I can see that collection GridView.Items contains duplicates but in the same time ObservableCollection is ok.

DataLoadMode has default value (is it "Synchronous" ?).

I see topic with similar problem (http://www.telerik.com/community/forums/wpf/gridview/radgridview-duplicates-data-from-observablecollection.aspx).

Please could you advice me which way I can fix my problem (may be it is fixed in new version of control).
Thank you.

3 Answers, 1 is accepted

Sort by
0
Yordanka
Telerik team
answered on 03 Oct 2013, 12:26 PM
Hi Pavel,

Thank you for the feedback.

Could you send us more details on how to reproduce the problem? Once we reproduce it locally, we will debug it on our side and will assist you further.
 
Regards,
Yordanka
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
Pavel
Top achievements
Rank 1
answered on 03 Oct 2013, 01:51 PM
Hi Yordanka,
unfortunately I do not have clearly actions for reproduce it.

In my case duplicates happen after :
View.MyBoundToGridCollection = new ObservableCollection<MyEntity>(myEntityList);

But it is a floating error, sometime happens, sometime do not.

As I can see in old topic ((http://www.telerik.com/community/forums/wpf/gridview/radgridview-duplicates-data-from-observablecollection.aspx)
users got similar problems in previous version of telerik controls, and Telerik wrote that "This is a known bug which manifests in some scenarios"
Please could you find out if mentioned bug was fixed or not ?

Thank you

0
Yordanka
Telerik team
answered on 04 Oct 2013, 12:09 PM
Hello Pavel,

The problem with Asynchronous load mode and duplicated items has been fixed and it is not reproducible with our latest official version Q2 2013 SP1.
 
Regards,
Yordanka
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
Pavel
Top achievements
Rank 1
Answers by
Yordanka
Telerik team
Pavel
Top achievements
Rank 1
Share this question
or