Back to Devexpress

ASPxClientButton.SetChecked(value) Method

aspnet-js-aspxclientbutton-dot-setchecked-x28-value-x29.md

latest1.2 KB
Original Source

ASPxClientButton.SetChecked(value) Method

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

Declaration

ts
SetChecked(
    value: boolean
): void

Parameters

NameTypeDescription
valueboolean

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

GetChecked

EnableClientSideAPI

ASPxClientButton Class

ASPxClientButton Members