Back to Devexpress

ASPxClientListBox.GetSelectedValues Method

aspnet-js-aspxclientlistbox-7f4cb876.md

latest1.4 KB
Original Source

ASPxClientListBox.GetSelectedValues Method

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

Declaration

ts
GetSelectedValues(): any[]

Returns

TypeDescription
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

SelectValues(values)

UnselectValues(values)

SelectAll

UnselectAll

SelectionMode

List Box

ASPxClientListBox Class

ASPxClientListBox Members