title: Iterate over rows/checkboxes in a RadGrid
body: <p>I have a Telerik RadGrid with a GridTemplateColumn that contains a checkbox, as follows:</p>
  
  <pre><code>&lt;telerik:GridTemplateColumn HeaderText="MINE" UniqueName="MyTemplateColumn"&gt;
       &lt;ItemTemplate&gt;
            &lt;asp:CheckBox id="MyCheckBox" runat="server"&gt;&lt;/asp:CheckBox&gt;
       &lt;/ItemTemplate&gt;
  &lt;/telerik:GridTemplateColumn&gt;
  </code></pre>
  
  <p>I want to set the box to be "checked" based on a value read from the database. I could handle the ItemDataBound event and read the database when each row is bound, but that results in <em>n</em> lookups. Instead, I want to handle DataBound, and then set all the values at once. So, in that method, I want code like this:</p>
  
  <pre><code>// read all values from database first, then...
  foreach(var chkbox in MyRadGrid.MasterTableView.Columns.FindByUniqueName("MyTemplateColumn").FindControl("MyCheckBox")) {
      chkbox.Checked = oneValue;
  }
  </code></pre>
  
  <p>That doesn't work, because FindControl isn't a method of GridColumn, and it won't generate an iterable list of the checkboxes. What is the correct way to iterate through the checkboxes in the template column? Thanks!</p>