i am using radio button in my grid view control and now i want to allow user to select only one radio button in grid view but i am unable to do that.below is my code in design.please help me.
<asp:GridView ID="Docgrid" HeaderStyle-BackColor="#3AC0F2" HeaderStyle-ForeColor="White" runat="server" AutoGenerateColumns="false" BorderStyle="None" GridLines="None"> <Columns> <asp:TemplateField> <ItemTemplate> <asp:RadioButton ID="chkRow" GroupName='docid' runat="server" /> </ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="Id" HeaderText="DocId" ItemStyle-Width="50" /> <asp:BoundField DataField="DocName" HeaderText="DocName" ItemStyle-Width="50" /> <asp:BoundField DataField="DocType" HeaderText="DocType" ItemStyle-Width="50" /> <asp:BoundField DataField="Size" HeaderText="Size" ItemStyle-Width="50" /> <asp:BoundField DataField="UploadedBy" HeaderText="UploadedBy" ItemStyle-Width="50" /> <asp:BoundField DataField="Status" HeaderText="Status" ItemStyle-Width="50" /> <asp:TemplateField HeaderText="UpdatedBy" ItemStyle-Width="50"> <ItemTemplate> <asp:Label ID="UpdatedBy" runat="server" Text='<%# Eval("UpdatedBy") %>'></asp:Label> </ItemTemplate> </asp:TemplateField> </Columns> </asp:GridView>