Pankaj Singh

Pankaj Singh

  • NA
  • 97
  • 0

Check only one radio button which is in gridview item template

Aug 12 2009 11:04 AM
Hi,

I am using below code to check only one radio button which is in gridview item template. But it allow multiple selection as CheckBoxes.

My code:

<columns>
<asp:TemplateField HeaderText="Select">
                                <ItemTemplate >
                                    <asp:RadioButton ID="rd1" GroupName="rdBox"  runat="server"  />
                                </ItemTemplate>
                               </asp:TemplateField>
</columns>

Please help me.

Thanks !

Pankaj Singh


Answers (3)