title: Looping through controls in ASP.Net C#
body: <p>I have a page, which contains a table, with a couple of rows, and in that row there are checkboxes.</p>
  
  <p>Now the thing I want, is to loop trough all checkboxes to see if they are checked or not.</p>
  
  <p>This is my current approach:</p>
  
  <pre><code>foreach (Control c in Page.Controls)
  {
      if(c is Checkbox){
      }
  }
  </code></pre>
  
  <p>Now the problem is that I receive only 2 controls, the page and the Table. So the checkboxes are in:
  Table -> TableRow -> TableCell -> CheckBox</p>
  
  <p>Is there a way to get ALL controls on a page, instead of having to nest into it to get out the controls?</p>