Chapter 11. Collecting Input Using Drop-Down Lists, Radio Buttons, and Check Boxes


In this hour, we will cover

  • Ideal times for using Web controls other than the TextBox Web control

  • Adding DropDownList Web controls to an ASP.NET web page

  • Programmatically accessing a selected value and text from a DropDownList Web control

  • Using the RadioButton Web control

  • Grouping related RadioButton Web controls

  • Using the CheckBox Web control

  • Programmatically determining whether a particular CheckBox Web control is checked


In the preceding hour we saw how to collect user information through the TextBox Web control. The text box, however, is not always the best tool for collecting a user input. For example, imagine that you wanted to ...

Get Sams Teach Yourself ASP.NET 3.5 in 24 Hours, Complete Starter Kit now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.