Hello,
I am trying to create 3 radio buttons inside the repeater control for 3 possible options where each option has 3 radio button to choose from using following syntax:
<asp:Repeater ID="rptrRoles" runat="server" OnItemDataBound="rptrRoles_ItemDataBound" >
<ItemTemplate>
<asp:RadioButton ID="" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Description") %>' GroupName="SiteRoles" /><br />
<asp:TextBox ID="txtSID" runat="server" Visible="false" />
<asp:TextBox ID="txtRoleID" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "RoleID") %>' Visible="false" />
</ItemTemplate>
</asp:Repeater>
But, I am having this isue that user can select all the radio buttons for the options at the same time. However, I only want the user to select only 1 radio button for each option.
Please help.
Thanks in advance for all your help.