When a user selects an item in the GridView, my application needs to select all others of the same type. This part is working, the problem I'm having is when the user selects an item of a different type (which I detect in the SelectionChanging event) - I'm unable to clear the existing selection while in the SelectionChanging() event.
I call GridView.SelectedItems.Clear(), but (I assume because I am in the SelectionChanging event) nothing happens. Is this a bug, and is there a workaround to clear the GridView selection while in a SelectionChanging event? Thanks.
I call GridView.SelectedItems.Clear(), but (I assume because I am in the SelectionChanging event) nothing happens. Is this a bug, and is there a workaround to clear the GridView selection while in a SelectionChanging event? Thanks.