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

ASPxClientButton.SetChecked(value) Method

Sets a value that specifies the button’s checked status.

Declaration

SetChecked(
    value: boolean
): void

Parameters

Name Type Description
value boolean

true if the button is checked; otherwise, false.

Remarks

The ASPxButton controls can function as radio buttons. To create a mutually exclusive set of buttons, use the ASPxButton.GroupName property to specify a group of button controls. Once the ASPxButton.GroupName property has been set, only one ASPxButton in the specified group can be checked at one time.

Use the SetChecked property to change the ASPxButton checked state at the client side.

See Also