System.Web.UI.WebControls.ImageButton.Enabled Property

Gets or sets a value indicating whether the System.Web.UI.WebControls.ImageButton can be clicked to perform a post back to the server.

Syntax

[System.ComponentModel.Bindable(true)]
[System.ComponentModel.DefaultValue(true)]
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)]
public virtual bool Enabled { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the ImageButton.Enabled property to specify whether an System.Web.UI.WebControls.ImageButton can be clicked to perform a post back to the server. If you set this property to false, the control renders on the page, but does not raise a post back event when clicked.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0