Button Control in ASP.Net.

ASP.Net Button Control

In this asp.net tutorials we will learn how to use Button control in ASP.Net.

The Button is an asp.net web server control.
The Button control is used to display a simple push button on web page.
we can display a simple push button on a web page by adding button control on asp.net web page.

All three button has a click events for write code behind code in asp.net.

Some important property of Button Control:

Simple Push button :

ID – identification of button control
Text – Display text on button control
PostBackUrl – Path of the page when redirect while click the button.
OnClientClick – write JavaScript or any client side script code function name.