Selecting One Option from a List of Suitable Choices with RadioButton Web Controls

Another means of collecting user input are radio buttons, which, like drop-down lists, are suited for choosing one option from a list of valid options. You have probably seen and used radio buttons on Web pages before. Radio buttons are small circles that, when selected, have a black circle displayed within them. See Figure 11.10.

Figure 11.10. Radio buttons allow the user to select one option from a list of options.

Radio buttons can be grouped into a series of related radio buttons. Given a related group of radio buttons, only one of the radio buttons from the ...

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.