AYKHO
AYKHO

Reputation: 516

Single RadioButton Select in GridView

In a gridview how can I do single radiobutton select without using JavaScript

<asp:TemplateField ShowHeader="False">
   <ItemTemplate>
      <asp:RadioButton ID="RadioButton1" runat="server" GroupName="GroupName" />
   </ItemTemplate>
</asp:TemplateField

Upvotes: 3

Views: 2429

Answers (1)

sanjay
sanjay

Reputation: 51

Give Different name to each radio button control and remove groupname attribute

e.g.

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

Upvotes: 1

Related Questions