title: Radio button selection in asp.net listview
body: <p>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. </p>
  
  <p><strong>ListView Design</strong></p>
  
  <pre><code>&lt;asp:ListView ID="lvColorName" runat="server" GroupItemCount="2" 
                      GroupPlaceholderID="groupPlaceHolder"&gt;
                      &lt;LayoutTemplate&gt;
                          &lt;asp:PlaceHolder runat="server" ID="groupPlaceHolder"&gt;&lt;/asp:PlaceHolder&gt;
                      &lt;/LayoutTemplate&gt;
                      &lt;GroupTemplate&gt;
                          &lt;asp:PlaceHolder runat="server" ID="itemPlaceHolder"&gt;&lt;/asp:PlaceHolder&gt;
                      &lt;/GroupTemplate&gt;
                      &lt;GroupSeparatorTemplate&gt;
                      &lt;/GroupSeparatorTemplate&gt;
                      &lt;ItemTemplate&gt;
                          &lt;asp:RadioButton ID="cbColorName" Text='&lt;%# Eval("colorName")%&gt;' runat="server" /&gt;
                      &lt;/ItemTemplate&gt;
                  &lt;/asp:ListView&gt;
  </code></pre>
  
  <p><strong>Out Put</strong>
  <a href="https://i.stack.imgur.com/HLzX8.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HLzX8.jpg" alt="enter image description here"></a></p>
  
  <p>I don't want to select multiple. while using normal its happen but not in listview...</p>