L
locutus_borg
Guest
Here is the basic problem. When a listview is set to multiselect = true, the SelectedIndexChanged event fires for every row. This is very bad in a situation like the following psuedo code:
MultiSelect in listView (many items)
Clear any items that are selected in GridView
find that item in gridView using a brute force compare
select it in the gridView
Since SelectedIndexChanged fires for every item that is being selected in multiple rows, the process happens for every item. This could be so easily overcome if there was an event that fired AFTER the (multi) selection has occured.
The only HACK I can think of is to user a timer when the selection changes, then go get the items that are now done selecting and select their counter part in the gridview.
locutus
Continue reading...
MultiSelect in listView (many items)
Clear any items that are selected in GridView
find that item in gridView using a brute force compare
select it in the gridView
Since SelectedIndexChanged fires for every item that is being selected in multiple rows, the process happens for every item. This could be so easily overcome if there was an event that fired AFTER the (multi) selection has occured.
The only HACK I can think of is to user a timer when the selection changes, then go get the items that are now done selecting and select their counter part in the gridview.
locutus
Continue reading...