I want use to prevent user to multiple selection in radio button. I'm using the ListView control to bind the radio button in asp.net.
ListView Design
<asp:ListView ID="lvColorName" runat="server" GroupItemCount="2"
GroupPlaceholderID="groupPlaceHolder">
<LayoutTemplate>
<asp:PlaceHolder runat="server" ID="groupPlaceHolder"></asp:PlaceHolder>
</LayoutTemplate>
<GroupTemplate>
<asp:PlaceHolder runat="server" ID="itemPlaceHolder"></asp:PlaceHolder>
</GroupTemplate>
<GroupSeparatorTemplate>
</GroupSeparatorTemplate>
<ItemTemplate>
<asp:RadioButton ID="cbColorName" Text='<%# Eval("colorName")%>' runat="server" />
</ItemTemplate>
</asp:ListView>
I don't want to select multiple. while using normal its happen but not in listview...