This documentation is archived and is not being maintained.

Button Web Server Controls

Visual Studio .NET 2003

Buttons in a Web Forms page allow the user to send a command. They submit the form to the server and cause it to be processed along with any pending events.

Web server controls include three types of buttons: a standard command button (Button control), a hyperlink-style button (LinkButton control), and a graphical button (ImageButton control). All three provide similar features, but each offers a different look.

The following topics provide information that you will find useful in learning to work with the button Web controls.

In This Section

Introduction to the Button Web Server Controls
Provides background information on the types of buttons available among Web server controls and how you work with them.
Adding Button Web Server Controls to a Web Forms Page
Gives directions for placing buttons on a Web Forms page.
Creating Graphical Button Web Server Controls
Gives directions for displaying a graphic as a button.
Determining Coordinates in an ImageButton Web Server Control
Gives directions for using a graphical button as an image map.
Responding to Button Web Server Control Events
Gives directions for generating a response when users click a button.

Related Sections

Adding Web Server Controls to a Web Forms Page
Gives directions for including Web server controls on a form.
Setting ASP.NET Server Control Properties
Gives directions for setting Web server control properties at design time.
Setting Web Server Control Properties Programmatically
Gives directions for setting Web server control properties in code.
Customizing the Appearance of ASP.NET Server Controls Using Styles
Gives directions for changing the look of your Web server controls on the page.
Server Event Handling in Web Forms Pages
Gives directions for handling Web server control events.
Show: