asp.net.ph

Skip Navigation Links

Button Web Server Controls

Web Forms Server Controls   Controls You Can Use on Web Forms   ASP.NET Standard Controls


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 ( <asp:Button> control ),
  • a hyperlink-style button ( <asp:LinkButton> control ), and
  • a graphical button ( <asp: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 ASP.NET Button controls.

In This Section


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

Related Sections


Content
Adding Web Server Controls to a Web Forms Page
Gives directions for including Web server controls on a form
Setting Web Forms Server Control Properties
Suggests additional topics of interest concerning Web server control properties
Setting Web Server Control Properties Programmatically
Gives directions for setting Web server control properties in code
Web Forms Server Controls and CSS Styles
Gives directions for changing the look of your Web server controls on the page.
Creating Client Event-Handling Methods in Web Forms
Gives directions for handling Web server control events in client script



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note