J
Jeremy Owens-Boggs
We are trying to implement a dual list box selection where you have two list
boxes, You highlight items in the right side list box, click a button and
this moves those items over to the left hand list box. The problem is that
if there are many items selected (thousands), then removing the items from
the right side list box takes for ever because we are removing them one at a
time, which causes the listbox to re-index everything before we remove the
next one. Adding the items using AddRange works very quickly. Does anyone
have any suggestions for quickly removing items from a listbox?
boxes, You highlight items in the right side list box, click a button and
this moves those items over to the left hand list box. The problem is that
if there are many items selected (thousands), then removing the items from
the right side list box takes for ever because we are removing them one at a
time, which causes the listbox to re-index everything before we remove the
next one. Adding the items using AddRange works very quickly. Does anyone
have any suggestions for quickly removing items from a listbox?