Click here to Skip to main content
15,911,306 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How can i Find whether cheackbox is selected or not????
Posted

if(CheckBox1.Checked)
{
    //Do stuff
}
else
{
    //Do stuff
}
 
Share this answer
 
v2
Client Side:
$('#' + id).is(":checked")
returns whether the check box is checked or not bool value.


Server Side:
you can follow solution 1 which will give you checked status of the Check Box
 
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