The ASPxListBox editor allows multiple list items to be selected at the same time.
The selection behavior is controlled by the editor's SelectionMode property.
Depending on this property's setting, the following selection modes are available within the ASPxListBox editor:
-
Single - Only one item can be selected within the editor.
-
Multiple - 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).
-
CheckColumn - 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).
When multiple selection is enabled, the selection state of individual items can be specified via the item's Selected property,
and a collection of selected items can be obtained by using the SelectedItems or SelectedIndices property.
In addition, item selection can be applied on the client side by using a specific client API (the editor's GetSelectedItems,
SelectItems, UnselectItems client methods).
Note that in multiple selection mode, all the ASPxListBox's features are supported, with the exception of loading items
on demand via callbacks (which is usually controlled by the editor's EnableCallbackMode and CallBackPageSize properties).