Working with List Controls
List controls display simple option lists. The ASP.NET 4 Framework includes the following five list controls:
• BulletedList
—
Displays a bulleted list of items. Each item can be displayed as text, a link button, or a hyperlink.
• CheckBoxList
—
Displays a list of check boxes. Multiple check boxes in the list can be selected.
• DropDownList
—
Displays a drop-down list. Only one item in the drop-down list can be selected.
• ListBox
—
Displays a list box. You can configure this control so that only one item in the list can be selected or multiple items can be selected.
• RadioButtonList
—
Displays a list of radio buttons. Only one radio button can be selected.
All five controls inherit from the same base ListControl
class. ...
Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.