RadioButton and RadioButtonList Web Server Controls

.NET Framework 3.0

The RadioButton and RadioButtonList Web server controls allow users to select one item from a predefined list. The following topics provide information that you will find useful in learning to work with these two controls.

Because there are two controls, and because they function somewhat differently, it's important to understand their different purposes. You can refer to the following table to determine which topics pertain specifically to the control you want to work with.


Some of the topics listed below for the RadioButtonList control do not apply solely to that control; instead, they are topics that pertain to all list-type Web server controls (ListBox, DropDownList, CheckBoxList, and RadioButtonList, BulletedList).

In This Section

Related Sections

Populating a List Web Server Control from a Database

Gives directions for binding a RadioButtonList control to a database in order to display bound radio buttons.

Setting the Selection in a List Web Server Control

Gives directions for preselecting items in a RadioButtonList control.

Determining the Selection in a List Web Server Control

Gives directions for programmatically checking which radio button the user has clicked in a RadioButtonList selected.

Responding to Changes in a List Web Server Control

Gives directions for writing an event handler to respond directly when the user clicks an item in a RadioButtonList control.

Setting Web Server Control Properties Programmatically (Visual Studio)

Gives directions for setting Web server control properties in code.

ASP.NET Web Server Controls and CSS Styles

Gives directions for changing the look of Web server controls on a page.

Community Additions