asp.net.ph

Skip Navigation Links

ListBox Web Server Control

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


The ListBox Web server control allows users to select one or more items from a predefined list.

The following topics provide information that you will find useful in learning to work with the ListBox control.

In This Section


Content
Introduction to the ListBox Control
Explains the general use of the ListBox control
Adding ListBox Controls to a Web Forms Page
Gives directions for putting a ListBox control onto a Web Form
Adding Items in a List Control
Gives directions for defining individual items in the ListBox control, either at design time or programmatically at run time
Populating a List Control from a Database
Gives directions for using a ListBox control to display database information
Determining the Selection in a List Control
Gives directions for checking in code what the user has selected
Setting the Selection in a List Control
Gives directions for preselecting items in the control
Responding to Changes in a List Control
Creating event-handling methods that are called when users work with control.

Related Sections


Content
Adding Web Server Controls to a Web Forms Page
Gives directions for including Web server controls on your Web Form
Setting Web Forms Server Control Properties
Suggests additional topics of interest concerning 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 Web server controls on a page.



© 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