title: get controls in ContentPlaceHolder asp.net with for each
body: <p>i have an asp form with masterpage and ContentPlaceHolder
  i want to find all controls(checkbox,textbox,lable,...) in my page
  i do that(without masterpage) normal</p>
  
  <pre><code> Dim c As Control
      For Each c In Page.Controls
          For Each childc In c.Controls
                  If CType(childc, TextBox).Text &lt;&gt; "" Then
  </code></pre>
  
  <p>but this code do not answer with masterpage
  i dont need this code</p>
  
  <pre><code>TextBox TB=Master.FindControl("ContentPlaceHolder1").FindControl("textbox1") as TextBox;
  </code></pre>
  
  <p>beacuse i want all controls</p>