R
roberta
I've a grid view with a checkbox
<asp:TemplateField HeaderText="Attiva" HeaderStyle-HorizontalAlign="Center">
<ItemTemplate>
<div align="center">
<asp:CheckBox ID="chkAttiva" runat="server"
Checked='<%# Eval("Attivta") %>'
oncheckedchanged="chkAttiva_CheckedChanged"
AutoPostBack="true"></asp:CheckBox>
</div>
</ItemTemplate>
<ItemStyle Width="60px"></ItemStyle>
</asp:TemplateField>
I've the method for manage the check changed event
protected void chkAttiva_CheckedChanged(object sender, EventArgs e)
{
}
In this event I would like to know the value of the checkbox for the
selected row (checked true or false) ... is it possible?
Thanks
<asp:TemplateField HeaderText="Attiva" HeaderStyle-HorizontalAlign="Center">
<ItemTemplate>
<div align="center">
<asp:CheckBox ID="chkAttiva" runat="server"
Checked='<%# Eval("Attivta") %>'
oncheckedchanged="chkAttiva_CheckedChanged"
AutoPostBack="true"></asp:CheckBox>
</div>
</ItemTemplate>
<ItemStyle Width="60px"></ItemStyle>
</asp:TemplateField>
I've the method for manage the check changed event
protected void chkAttiva_CheckedChanged(object sender, EventArgs e)
{
}
In this event I would like to know the value of the checkbox for the
selected row (checked true or false) ... is it possible?
Thanks