title: Check CheckBox inside inner Repeater from outer Repeater checked in Asp.Net
body: <p>There are two CheckBoxes one is in outer Repeater and other is inside inner Repeater.</p>
  
  <p>I would like to automatically check CheckBox of inner Repeater when checked the outer Repeater's CheckBox.</p>
  
  <p><strong>HTML Markup:</strong></p>
  
  <pre><code>&lt;asp:Repeater ID="repOuter" runat="server"&gt;
      &lt;ItemTemplate&gt;
          &lt;asp:CheckBox ID="chkOuter" runat="server" 
               OnCheckedChanged="chkOuter_CheckedChanged" /&gt;
  
          &lt;asp:Repeater ID="repInner" runat="server"&gt;
              &lt;ItemTemplate&gt;
                  &lt;asp:CheckBox ID="chkInner" runat="server" /&gt;
              &lt;/ItemTemplate&gt;
          &lt;/asp:Repeater&gt;
  
      &lt;/ItemTemplate&gt;
  &lt;/asp:Repeater&gt;
  </code></pre>
  
  <p><strong>Code-Behind</strong></p>
  
  <pre><code>protected void chkOuter_CheckedChanged(object sender, EventArgs e)
  {
      // can't have access to inner CheckBox placed inside Inner Repeater
      CheckBox innerCheckBox; // how?
  
      innerCheckBox.Checked = true; // want to check it
  }
  </code></pre>