Hi,
I can't figure out how to set multiple items in a ListBox to selected when
the listbox is in a User Control.
When the ListBox is set in directly into a form I can use the following:
listbox.SelectionMode = SelectionMode.MultiExtended;
listbox.SelectedIndex = 1;
listbox.SelectedIndex = 2;
But when I set the ListBox into a User Control, this doesn't work. I can
only set one item to selected.
Any help appreciated. TIA.
-Ted