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

ASPxClientListBox.GetSelectedValues Method

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

Declaration

GetSelectedValues(): any[]

Returns

Type Description
any[]

An array of Object[] objects that represent the values of the selected items.

Remarks

Use the GetSelectedValues method to obtain an array of values of the selected items within a list box.

NOTE

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

For more information about multiple selection, read the Multi-Selection Mode topic.

See Also