Skip to main content

ASPxClientCheckBox.SetCheckState(checkState) Method

Sets a value specifying the state of a check box.

Declaration

SetCheckState(
    checkState: string
): void

Parameters

Name Type Description
checkState string

A string value matches one of the CheckState enumeration values.

Remarks

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.

Note

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