Examining the DropDownList Web Control

There are certain forms of input in which the user must select precisely one option from a list of suitable choices. For example, a software company might want to create a support site where users can find answers to common questions about the company's various software products. When looking for answers to product questions, it would be helpful if, along with searching for certain keywords, the user could select the particular software product causing trouble.

In such a scenario, a suitable Web control for collecting this bit of input would be a DropDownList Web control. The DropDownList Web control creates a drop-down list of one to many options from which the user can choose. Figure 11.1 shows an example ...

Get SAMS Teach Yourself ASP.NET in 24 Hours 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.