Intersoft Support Center

Set Selected Items on Load

WebListBox provides features that enable user to set selected items in single or multiple mode.

This topic will show you how to set selected items on load.

To set selected items on load

  1. Right-click on WebListBox control and choose Properties.
  2. Set SelectedIndex to any item index you want to select.
  3. To select multiple items on load, simply set SelectionMode to Multiple and SelectedIndex to -1.
  4. Go to Items and click the collection button.
  5. You can set Selected to True in each item you want to select.
Previous Next