A newer version of this page is available. Switch to the current version.

BootstrapClientListBox.GetSelectedItems Method

Returns an array of the list editor's selected items.

Declaration

GetSelectedItems(): BootstrapClientListBoxItem[]

Returns

Type Description
BootstrapClientListBoxItem[]

An array of BootstrapClientListBoxItem objects that represent the selected items.

Remarks

Use the GetSelectedItems method to obtain an array of the selected items within a list box. A null value indicates that no item is currently selected within the list editor.

NOTE

The GetSelectedItems method is not in effect if the ASPxListBox.SelectionMode property is set to ListEditSelectionMode.Single value.

See Also