Skip to main content

ASPxClientButtonEditBase.GetButtonVisible(number) Method

Returns a value specifying whether a button is displayed.

Declaration

GetButtonVisible(
    number: number
): boolean

Parameters

Name Type Description
number number

The button’s index within the ASPxButtonEditBase.Buttons collection.

Returns

Type Description
boolean

true, if the button visible; otherwise, false.

Remarks

Use the GetButtonVisible method to obtain a button’s visibility state on the client. The initial client visibility state of the button can be defined using its server EditButton.ClientVisible property. Then, the button’s visibility can be dynamically changed on the client side using the ASPxClientButtonEditBase.SetButtonVisible method.

See Also