Single RadioButton Select in GridView

In gridview, how can I make a single radiator selection without using JavaScript

<asp:TemplateField ShowHeader="False">
   <ItemTemplate>
      <asp:RadioButton ID="RadioButton1" runat="server" GroupName="GroupName" />
   </ItemTemplate>
</asp:TemplateField
+3
source share
1 answer

Give a different name for each radio button control and remove the groupname attribute

eg.

<asp:RadioButton ID="RadioButton2"  runat="server"  />
+1
source

All Articles