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

ASPxClientCheckBoxList.SelectAll Method

Selects all check box list items.


SelectAll(): void


Use the SelectAll method to select all items within a check box list. To unselect all items, use the ASPxClientCheckBoxList.UnselectAll method.

You can select items by their indices (ASPxClientCheckBoxList.SelectIndices), values (ASPxClientCheckBoxList.SelectValues), or directly (ASPxClientCheckBoxList.SelectItems).

To obtain the selected items, use the ASPxClientCheckBoxList.GetSelectedItems method.

See Also