Back to Devexpress

ASPxClientButton.GetEnabled Method

aspnet-js-aspxclientbutton-b80ecb5e.md

latest1.0 KB
Original Source

ASPxClientButton.GetEnabled Method

Returns a value indicating whether the button is enabled.

Declaration

ts
GetEnabled(): boolean

Returns

TypeDescription
boolean

true if the button is enabled; false if the button is disabled.

|

Remarks

Use the GetEnabled method on the client to determine a button’s ability to respond to end-user interactions such as mouse hovering or clicks. The initial client availability state of a button can be defined using its server ASPxButton.ClientEnabled property. Then, the button’s state can be dynamically changed on the client side using the ASPxClientButton.SetEnabled method.

See Also

SetEnabled(value)

EnableClientSideAPI

ASPxClientButton Class

ASPxClientButton Members