Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi All.

When i am doing browser (IE. Firefox, Chrome) Java script Disabled my Checkbox ChkRenew_CheckedChanged not firing in c#

Any help will be appreciated.
Posted

Everything is correct here. This event should not be invoked. It will be invoked only if you check/uncheck the check box. Enabling/disabling does not effect the checked state of the control.

—SA
 
Share this answer
 
Comments
Zubairk1990 22-Aug-14 7:38am    
<asp:CheckBox runat="server" ID="chkRenew" AutoPostBack="True" OnCheckedChanged="chkRenew_CheckedChanged" /> // This is My Check box.

This my C#(code behin.)
protected void chkRenew_CheckedChanged(object sender, EventArgs e)
{
}

chkRenew_CheckedChanged event is not calling when my browser javascript is disabled. Please advice. Thanks
Sergey Alexandrovich Kryukov 22-Aug-14 11:20am    
I already answered. Do you think I have to repeat it? :-)
Not "event is not calling", "event handler is not called". It should not be called in this case.
—SA
Javascript is needed to work the check box, the autopostback will not work if you disable javascript in browser.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900