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

<feature><title></title>

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

</feature>

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 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.