Home All Groups Group Topic Archive Search About

bug with SelectedIndices collection in virtual ListView

Author
20 Sep 2006 8:17 PM
aaron.awells
There seems to be a bug when using a ListView control in virtual mode.

If you check the SelectedIndices property of your list view within the
SelectedIndexChanged event, and the user Shift-Selects a range of items
in the listView, the number of selected indices is always zero. The
returned list of selected indices is correct if the user uses the
ctrl-select, or just simple selects from the list. This happens when
the view property is set to "Details". Of course, you must have the
MultiSelect property set to true and the VirtualMode set to true as
well.

Is there a work-around/fix available for this?

AddThis Social Bookmark Button