harmmeijer
Programmer
I have an asp:checkbox in a templatecolumn but no matter how many times I check and uncheck the box the OnCheckedChanged never gets called.
yes it is runat="server"
here is some code of the aspx file:
here is the .vb file:
Anobyody got an idea what's going on here?
Greetings, Harm Meijer
yes it is runat="server"
here is some code of the aspx file:
Code:
<asp:TemplateColumn HeaderText="Register">
<ItemTemplate >
<asp:CheckBox
runat="server"
id="chkDoCourse"
AutoPostBack="True"
OnCheckedChanged="registerUnregister" />
</ItemTemplate>
</asp:TemplateColumn>
here is the .vb file:
Code:
Protected Friend Sub registerUnregister(ByVal sender As Object, ByVal e As System.EventArgs)
Dim i As Int32 = 22
Dim s As String = "this code never gets called no matter how many times i tick and untick the checkbox"
End Sub
Anobyody got an idea what's going on here?
Greetings, Harm Meijer