Chapter 10. Using List Controls


In this Chapter

  • Overview of the List Controls

  • Working with the DropDownList Control

  • Working with the RadioButtonList Control

  • Working with the ListBox Control

  • Working with the CheckBoxList Control

  • Working with the BulletedList Control

  • Creating a Custom List Control

  • Summary

The List controls enable you to display simple lists of options. For example, you can use the RadioButtonList control to display a group of radio buttons, or the BulletedList control to display a list of links.

In this chapter, you learn how to use each of the List controls included in the ASP.NET Framework. In particular, it discusses the DropDownList, RadioButtonList, ListBox, CheckBoxList, and BulletedList controls. You learn how to bind the different types of List controls to a data source such as a database table. You also learn how to work directly with the list items contained by a List control.

Finally, at the end of this chapter, you learn how to build a custom List control. We create a client-side multi-select List control, which enables you to select multiple list items at a time.\




ASP. NET 2.0 Unleashed
ASP.NET 2.0 Unleashed
ISBN: 0672328232
EAN: 2147483647
Year: 2006
Pages: 276

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net