Back to Devexpress

ASPxClientListBox.SelectAll Method

aspnet-js-aspxclientlistbox-b209ce03.md

latest1.6 KB
Original Source

ASPxClientListBox.SelectAll Method

Selects all list box items.

Declaration

ts
SelectAll(): void

Remarks

Note

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

If the filter criteria is applied to the list box on the client side, the SelectAll method affects only the filtered list box items. If an end-user implements the following actions sequentially - filtering, selecting all the filtered items and then clearing the applied filter criteria - only the previously filtered list box items remains selected. It means that the SelectAll method is applied only to the currently visible list box items.

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

See Also

SelectItems(items)

SelectIndices(indices)

UnselectAll

GetSelectedItems

GetSelectedIndices

SelectAll()

SelectionMode

List Box

ASPxClientListBox Class

ASPxClientListBox Members