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

RadGridView and IDataErrorInfo Container Recycling Issue

1 Answer 82 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 07 Aug 2010, 06:27 PM
Hi,

  I have bound the GridView to a collection of objects implementing IDataErrorInfo for validation (as I want my validation on a view model, not in event handlers in the view). 

All appears to work well until I scroll horizontally or vertically.  Once I have seen an invalid cell on screen, scrolling to the side or up/down will then make it seem like other cells also have the same validation error. I assume this is down to the container recycling.  I have attempted to turn container recycling off using VirtualizingStackPanel.VirtualizationMode="Standard" but this had no effect.  There is way too much data to even consider turning row/column virtualization off.  Incidentally, I had this same grid working using the DataGrid from WPF Toolkit. Although the toolkit grid did have poorer performance it did not suffer this container recycling issue.

Is this a known issue - are there any workarounds? I'm really keen to start using the RadGridView but if I cannot get validation working as expected then I will have to stick to the toolkit.

Regards,

Andy

1 Answer, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 09 Aug 2010, 07:48 AM
Hello Andy,

I've just made a test and everything works great with our latest internal build binaries.
Could you please try your scenario with latest binaries and let me know how it goes?
Sorry for the inconvenience caused.

Kind regards,
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
Andy
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Share this question
or