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
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