The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientCheckBoxList.SelectValues(values) Method

Selects items with the specified values within a check box list.

Declaration

SelectValues(values: any[]): void

Parameters

Name Type Description
values any[]

An array of Object[] objects that are the item values.

Remarks

Use the SelectValues method to select items with the specified values within a check box list. To unselect items specified by their values use the ASPxClientCheckBoxList.UnselectValues method.

Additionally you can select items by their indices (ASPxClientCheckBoxList.SelectIndices), directly (ASPxClientCheckBoxList.SelectItems), or select all items within the control (ASPxClientCheckBoxList.SelectAll).

To obtain values of the selected items, use the ASPxClientCheckBoxList.GetSelectedValues method.

See Also