We have a control where a user can select multiple rows in a RadGridView and we store the selected items. No problem. However, if the user later returns to the control and pops up the grid to select more items, the previous selections are not automatically selected already despite the synchronization code (from another post here - keeps the SelectedItems and another collection synchronized).
So how does one programmatically toggle the IsSelcted for the rows based on the SelectedItems property? When the grid is loaded, the SelectedItems is synchronized with the collection of objects already synchronized, but the GridViewSelectColumn does not display the checkbox as selected so it looks like nothing is selected even though the collection is populated with objects.
I read one post which suggested using a style trigger but that only works if the rows are visible. These grids can have hundreds or thousands of records.
Steve
So how does one programmatically toggle the IsSelcted for the rows based on the SelectedItems property? When the grid is loaded, the SelectedItems is synchronized with the collection of objects already synchronized, but the GridViewSelectColumn does not display the checkbox as selected so it looks like nothing is selected even though the collection is populated with objects.
I read one post which suggested using a style trigger but that only works if the rows are visible. These grids can have hundreds or thousands of records.
Steve