System.Web.UI.HtmlControls.HtmlButton Members

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

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

Public Constructors

Initializes a new instance of the System.Web.UI.HtmlControls.HtmlButton class.

Public Properties

CausesValidationbool.

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

ValidationGroupstring.

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

Protected Methods

override
OnPreRender(EventArgs)

Raises the System.Web.UI.Control.PreRender event and registers client script for generating a postback.

OnServerClick(EventArgs)

Raises the HtmlButton.ServerClick event. This allows you to provide a custom handler for the event.

RaisePostBackEvent(string)

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

override
RenderAttributes(System.Web.UI.HtmlTextWriter)

Renders the System.Web.UI.HtmlControls.HtmlButton control's attributes to the specified System.Web.UI.HtmlTextWriter object.

Public Events

ServerClick

Occurs when the user clicks an System.Web.UI.HtmlControls.HtmlButton control on the client Web page.

Explicitly Implemented Interface Members

System.Web.UI.IPostBackEventHandler.RaisePostBackEvent

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