ASPxClientCheckBoxList.GetSelectedIndices Method

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


GetSelectedIndices(): number[]


Type Description

An array of integer values that are the indices of the selected items.


Use the GetSelectedIndices method to identify an array of the selected items within the check box list editor by their indices. A null value indicates that no item is currently selected within the editor.

To select/unselect items by their indices, use the ASPxClientCheckBoxList.SelectIndices/ASPxClientCheckBoxList.UnselectIndices properties respectively.

See Also