System.Web.UI.HtmlControls.HtmlInputButton Members

The members of System.Web.UI.HtmlControls.HtmlInputButton are listed below.

See Also: Inherited members from System.Web.UI.HtmlControls.HtmlInputControl

Public Constructors

Initializes a new instance of the System.Web.UI.HtmlControls.HtmlInputButton class using default values.

Initializes a new instance of the System.Web.UI.HtmlControls.HtmlInputButton class using the specified button type.

Public Properties

CausesValidationbool.

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

ValidationGroupstring.

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

Protected Methods

override
OnPreRender(EventArgs)

Raises the System.Web.UI.Control.OnPreRender(EventArgs) event and registers client script for generating postback.

OnServerClick(EventArgs)

Raises the HtmlInputButton.ServerClick event. This allows you to handle the event directly.

RaisePostBackEvent(string)

Raises events for the System.Web.UI.HtmlControls.HtmlInputButton control when it posts back to the server.

override
RenderAttributes(System.Web.UI.HtmlTextWriter)

Renders the attributes into the specified writer and then calls the HtmlControl.RenderAttributes(System.Web.UI.HtmlTextWriter) method.

Public Events

ServerClick

Occurs when an System.Web.UI.HtmlControls.HtmlInputButton control is clicked on the Web page.

Explicitly Implemented Interface Members