I have an asp:CheckBox column in an asp:GridView. I am trying to uncheck previously checked CheckBox when another one is checked using javascript. I have seen code dealing with 2 checkboxes but not in an asp:gridview. I am new to javascript so any help would be appreciated.
Here is the HTML code:
<asp:GridView ID="GridViewGroups" runat="server" >
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox ID="chkRow2" class="icheckbox" runat="server" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
Aucun commentaire:
Enregistrer un commentaire