ASPxClientButtonEditBase.SetButtonVisible(number, value) Method

Specifies whether the button is visible.

Declaration

SetButtonVisible(number: number, value: boolean): void

Parameters

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.

Remarks

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.

Note

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