A radio button list presents a list of mutually exclusive options. A check
box list presents a list of independent options. These controls contain a
collection of ListItem objects that could be referred to through the Items
property of the control.
Basic syntax for radio button list:
<asp:RadioButtonList ID="RadioButtonList1"
runat="server"
AutoPostBack="True"
OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged">
</asp:RadioButtonList>
|
Basic syntax for check box list:
<asp:CheckBoxList ID="CheckBoxList1"
runat="server"
AutoPostBack="True"
OnSelectedIndexChanged="CheckBoxList1_SelectedIndexChanged">
</asp:CheckBoxList>
|
Comments
Post a Comment