A
Adam Knight
Hi all,
I have a checked box in a datagrid like so:
<asp:TemplateColumn>
<ItemStyle HorizontalAlign="Right" Width="25px"></ItemStyle>
<ItemTemplate>
<asp:CheckBox ID="chkAddDocument"
OnCheckedChanged="chkAddDocument_CheckedChanged" AutoPostBack="True"
Runat="server" />
</ItemTemplate>
</asp:TemplateColumn>
The associated sub is defined like so:
Public Sub chkAddDocument_CheckedChanged(ByVal sender As Object, ByVal e As
System.EventArgs)
Response.Write("Checked!")
End Sub
Unfortunately my problem is, the Sub doesn't seems to be called when i
change the checked value of a given CheckBox...????
Any thoughts??
Cheers,
Adam
I have a checked box in a datagrid like so:
<asp:TemplateColumn>
<ItemStyle HorizontalAlign="Right" Width="25px"></ItemStyle>
<ItemTemplate>
<asp:CheckBox ID="chkAddDocument"
OnCheckedChanged="chkAddDocument_CheckedChanged" AutoPostBack="True"
Runat="server" />
</ItemTemplate>
</asp:TemplateColumn>
The associated sub is defined like so:
Public Sub chkAddDocument_CheckedChanged(ByVal sender As Object, ByVal e As
System.EventArgs)
Response.Write("Checked!")
End Sub
Unfortunately my problem is, the Sub doesn't seems to be called when i
change the checked value of a given CheckBox...????
Any thoughts??
Cheers,
Adam