|
The RadioButtonList control provides a single-selection checked list. Like other list controls, RadioButtonList
has an Items collection with members that correspond to each item in the list. To determine which items are
selected, test the Selected property of each item.
You can control the rendering of the list with the RepeatLayout and RepeatDirection properties. If the value of
RepeatLayout is Table, the list will be rendered in a table. If it is set to Flow, the list will be rendered
without any table structure. By default, the value of RepeatDirection is Vertical. Setting this property to Horizontal
causes the list to be rendered horizontally.
The following sample illustrates using the RadioButtonList control.
VB RadioButtonList1.aspx
|