Tab
A newer version of this page is available. Switch to the current version.

ASPxButton.ClientVisible Property

Gets or sets a value that specifies the initial visibility state of a button on the client.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(true)]
public bool ClientVisible { get; set; }
<DefaultValue(True)>
Public Property ClientVisible As Boolean

Property Value

Type Default Description
Boolean

true

true to make a button initially displayed on the client; false to render the button into the web page, but make it initially hidden on the client side.

Remarks

Use the ClientVisible property to define a button's initial visibility state. The button's visibility can then be dynamically changed on the client side using the ASPxClientControlBase.SetVisible method.

NOTE

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

See Also