I'm trying to create a webform in asp.net/c# that uses checkboxes. What I would like to do is automatically check one box if another is checked
for example if button2 is checked, automatically check button1, but don't automatically check if button1 is checked
tried doing an if statement that handles this like:
if(checkbox1.changed == true)
{
checkbox2.changed == true;
}
but this didnt work. anyone point me in right direction of where to look on how to do this.