ASP.NET FAQ - RadioButton

What is the difference between a series of RadioButton controls and a series of Checkbox controls

RadioButton control is designed to allow users to choose atleast one option from a list of available options.
Checkbox is designed to allow users to choose from zero to all options.

Permalink
How can I enforce that only one radiobutton gets selected among a list of Radiobutton controls

Set same Groupname for the radiobutton controls

Permalink
How can I have the first item in the radiobuttonlist selected

VB.NET

RadioButtonList1.Items(0).Selected = true

C#

RadioButtonList1.Items[0].Selected = true;
Permalink