The Button HTML control is used to work as a control in forms, and it can also be used to performs actions anywhere on the form through scripts. It is used to display a button like push button. These buttons may be a submit button or a command button.
The Button control allows you to create a push button on the Web Forms page. Here you can dynamically add a Button web server control to a page by writing certain codes.
The Button HTML control triggers the event procedure defined in the button onclick event attribute, which runs at the client side. When clicked on the button, the Button server control triggers an ASP.NET Click event procedure on the server that is written on the asp.net code behind page.
Asked In: Many Interviews |