What are Button HTML control and the Button Server control? What is the main difference between them?

 Posted by Tripati_tutu on 11/1/2010 | Category: ASP.NET Interview questions | Views: 3081 | Points: 40

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 | Alert Moderator 

Comments or Responses

Login to post response