dcl120748
asked on
How to create an event for a GridView CheckBox TemplateField
I have a number of TemplateFields created as CheckBoxes in a Gridview and need to create an event so that when any one of them is clicked it fires an event.
<asp:TemplateField HeaderText="SD" SortExpression="site_down">
<EditItemTemplate>
<asp:CheckBox ID="chkSD" runat="server"
Checked='<%# Bind("site_down") %>' />
</EditItemTemplate>
<ItemTemplate>
<asp:CheckBox ID="chkSD" runat="server" Checked='<%# Bind("site_down") %>'
Enabled="<%# true %>" />
</ItemTemplate>
</asp:TemplateField>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have no objection but I am just surprised that for a second time in a row I have asked a question, then responded to a request for further information and then heard absolutely nothing. I am questioning the value of being a premium member.
ASKER