Last post Nov 29, 2018 03:18 AM by Fei Han - MSFT
Nov 28, 2018 11:01 AM|JagjitSingh|LINK
I have below code but it is not going in OnCheckedChanged
<asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="true" OnCheckedChanged="OnCheckedChanged" />
Nov 28, 2018 11:40 AM|yogyogi|LINK
Check if your checkbox is not inside UpdatePanel.
Nov 28, 2018 12:13 PM|JagjitSingh|LINK
It is not inside Update Panel
Nov 29, 2018 03:18 AM|Fei Han - MSFT|LINK
Please use F12 developer tools to check if your asp:CheckBox control CheckBox1 is rendered like below.
Besides, as yogyogi mentioned, to troubleshoot the issue, you can try to create a new web page and test same code of asp:CheckBox control CheckBox1 and check if it works as expected. And please check if using event.preventDefault() method (or other script)
stops the default action.