System.Web.UI.WebControls.ImageButton: Property Members

The properties of System.Web.UI.WebControls.ImageButton are listed below. For a list of all members, see the ImageButton Members list.

See Also: Inherited members from System.Web.UI.WebControls.Image

Public Properties

CausesValidationbool.

Gets or sets a value indicating whether validation is performed when the System.Web.UI.WebControls.ImageButton control is clicked.

CommandArgumentstring.

Gets or sets an optional argument that provides additional information about the ImageButton.CommandName property.

CommandNamestring.

Gets or sets the command name associated with the System.Web.UI.WebControls.ImageButton control.

Enabledbool.

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

override
GenerateEmptyAlternateTextbool.

Gets or sets a value indicating whether the control generates an alternate-text attribute for an empty string value.

OnClientClickstring.

Gets or sets the client-side script that executes when an System.Web.UI.WebControls.ImageButton control's ImageButton.Click event is raised.

PostBackUrlstring.

Gets or sets the URL of the page to post to from the current page when the System.Web.UI.WebControls.ImageButton control is clicked.

ValidationGroupstring.

Gets or sets the group of controls for which the System.Web.UI.WebControls.ImageButton control causes validation when it posts back to the server.

Protected Properties

[read-only]
override
TagKeySystem.Web.UI.HtmlTextWriterTag.

Gets the System.Web.UI.HtmlTextWriterTag value that corresponds to the System.Web.UI.WebControls.ImageButton control.

Textstring.

Gets or sets the value of the System.Web.UI.WebControls.ImageButton control's Image.AlternateText property.