The ASP.NET Button control is generally used in all type of forms. Button has, properties like Enabled, PostBackUrl, Text etc. Button has event called Click_Raised, Button_Click, Command_Raised etc.
Conceptual
figure
Basic structure of the Button is below:
[html]<asp:Button ID="spButton" runat="server" Text="Button" />[/html]
The interaction diagram for the "Submit" button is below.
Types
There are different types of buttons, which are used in ASP.NET. Those are mentioned below with the proper syntax.
In the below form, one can see two buttons used and they are "Submit" and "Reset". On clicking of "Submit" button, the form will be submitted and on clicking "Reset" button, all the entries in the form will be reset.