title: Find All Radio Buttons in ASP Table
body: <p>I have an ASP table which contains a large number of radio buttons.  I want to loop through them all quickly and set the checked property to false:</p>
  
  <pre><code>   &lt;asp:Table runat=Server ID=tblSchedule&gt;
              &lt;asp:TableRow&gt;
                  &lt;asp:TableCell&gt;
      &lt;asp:RadioButton runat=Server ID=rdb1/&gt;
  &lt;/asp:TableCell&gt;
  &lt;/asp:TableRow&gt;
  &lt;/asp:table&gt;
  </code></pre>
  
  <p>The following code never returns any results though.</p>
  
  <pre><code>foreach (RadioButton rdb in tblSchedule.Controls.OfType&lt;RadioButton&gt;())
  {
      rdb.Checked = false;
  }
  </code></pre>