title: webform that automatically checks button if another button is checked
body: <p>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</p>
  
  <p>for example if button2 is checked, automatically check button1, but don't automatically check if button1 is checked</p>
  
  <p>tried doing an if statement that handles this like:</p>
  
  <pre><code>if(checkbox1.changed == true)
  {
      checkbox2.changed == true;
  } 
  </code></pre>
  
  <p>but this didnt work. anyone point me in right direction of where to look on how to do this.</p>