Button control is generally used to post the form or fire an event either client side or server side.
When it is rendered on the page, it is generally implemented through <input type=submit> HTML tag.
However, if
UserSubmitBehavior property is set to false then control will
render out as <input type=button>.
Its properties like BackColor, ForeColor, BorderColor, BorderStyle, BorderWidth, Height etc.
are implemented through style properites of <input> tag.
You can set its Text property either by setting Text property in the .aspx page or from server side page. (other properties can also be set from both pages)
A button can be set as default button (Default button is a button that is Clicked when the user presses Enter key while filling a form.)
by specifying DefaultButton property of the <form> tag or to the asp:Panel tag in which it is placed.
eg. If we have to set a button with id btnSubmit as default button we can add following properties to the <form> element.
<form id="Form1" DefaultButton="btnSubmit" runat="server">.
Following are some important properties that are very useful.
Here note that when you click "Fire Server Side Event" button, the form will be posted only when you have entered something into the TextBox, while other buttons are posted back without validatation.
Here only textbox and "Fire Server Side Event" button have same ValidateionGroup called "demo", so this button is validating only textbox.