3
Answers

Check only one radio button which is in gridview item template

Pankaj Singh

Pankaj Singh

15y
11.8k
1
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)