ASPxClientCheckBoxList.GetSelectedIndices Method
In This Article
Returns an array of the check box list editor’s selected items indices.
#Declaration
TypeScript
GetSelectedIndices(): number[]
#Returns
Type | Description |
---|---|
number[] | An array of integer values that are the indices of the selected items. |
#Remarks
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