title: Find a control in a webform
body: <p>I have a Web content form and need to access a control inside the content panel. I know of two ways to access the control:</p>
  
  <ol>
  <li><code>TextBox txt = (TextBox)Page.Controls[0].Controls[3].Controls[48].Controls[6]</code></li>
  <li>By writing a recursive function that searches through all controls.</li>
  </ol>
  
  <p>Is there any other easier way, since <code>Page.FindControl</code> doesn’t work in this instance.
  The reason I am asking is it feels to me like the Page object or the Content Panel object should have a method to find a child control, but can’t find anything like it.</p>