ASPxClientButtonEditBase.SetButtonVisible(number, value) Method

Specifies whether the button is visible.


    number: number,
    value: boolean
): void


Name Type Description
number number

An integer value specifying the button's index within the ASPxButtonEditBase.Buttons collection.

value boolean

true, to make the button visible; otherwise, false.


Use the SetButtonVisible method to dynamically define a button's visible state on the client. The original button's visibility can be defined by using the EditButton.ClientVisible property.


If a button's server EditButton.Visible property is set to false, this button is not rendered on the web page at all, so it can't be manipulated on the client side.

See Also