Skip to main content
A newer version of this page is available. .

ASPxClientCheckBox.SetCheckState(checkState) Method

Sets a value specifying the state of a check box.


    checkState: string
): void


Name Type Description
checkState string

A string value matches one of the CheckState enumeration values.


Use the SetCheckState method to specify the state of a check box (the ASPxCheckBox.CheckState property value) on the client side. To determine the check state on the client side, use the ASPxClientCheckBox.GetCheckState method.


If the ASPxCheckBox.AllowGrayed property is set to false the grayed state is disabled. In this case, a setting the SetCheckState property to Indeterminate (grayed state) automatically sets it to unchecked state.

See Also