System.Web.UI.HtmlControls (system.web.dll)class

This class can represent the HTML <input type=button> tag, the <input type=submit> tag, and the <input type=reset> tag. Reset buttons are used to clear input fields on the current form and do not trigger a postback. Submit and input buttons in ASP.NET trigger a postback and provide a ServerClick event that you can use to perform other tasks. Additionally, you can use the CausesValidation property to skip postback page validation when this button is clicked.

public class HtmlInputButton : HtmlInputControl, System.Web.UI.IPostBackEventHandler {
// Public Constructors
   public HtmlInputButton( );
   public HtmlInputButton(string type);
// Public Instance Properties
   public bool CausesValidation{set; get; }
// Protected Instance Methods
   protected override void OnPreRender(EventArgs e);            // overrides System.Web.UI.Control
   protected virtual void OnServerClick(EventArgs e);
   protected override void RenderAttributes(System.Web.UI.HtmlTextWriter writer); // overrides HtmlInputControl
// Events
   public event EventHandler ServerClick;


System.Object System.Web.UI.Control(System.ComponentModel.IComponent, System.IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor) HtmlControl(System.Web.UI.IAttributeAccessor) HtmlInputControl HtmlInputButton(System.Web.UI.IPostBackEventHandler)

    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace