The BootstrapListBox control displays a list of items that can be selected by end-users.
Bootstrap List Box offers the following features:
The Bootstrap List Box editor allows multiple list items to be selected at the same time, this functionality is controlled by the ASPxListBox.SelectionMode property. The following selection modes are available within the Bootstrap List Box editor.
Only one item can be selected within the editor.
Multiple items can be selected within the editor. End-users can apply multi-selection by clicking list items while pressing Ctrl (to add an individual item) or Shift (to select a range of items).
Multiple items can be selected within the editor. End-users can apply multi-selection by clicking list items (the Shift key can also be used in this mode to select a range of items).
A single item of a list box can display values obtained from several data fields. By default, the displayed values are separated by a semicolon. Fields are stored in a collection of the BootstrapListBoxFieldCollection type, which can be accessed using the list box's BootstrapListBox.Fields property. An individual field can be accessed within the collection using indexer notation. A field can be mapped to a data source's column using the ListBoxColumn.FieldName property.
End-users can filter items by entering text in the filter editor above the list. To make the filter editor visible, set the ListBoxFilteringSettings.ShowSearchUI property to true. When an end-user types a filter string, the items list is automatically updated to display only the items that match the filter string. To make all the list box items visible, clear the filter editor.
The Bootstrap List Box control allows you to perform data validation both on the client and server side.
Full-Featured Client-Side API
You can modify the editor behavior using the following methods.