title: Masterpage controllist only returns some controls
body: <p>I have a little problem with my ASP.Net Page.</p>
  
  <p>I'm trying to get all controls from my masterpage within the masterpage code.</p>
  
  <p>I did this with the Child page using this code</p>
  
  <pre><code>foreach (Control ctrl in ContentPlaceHolder1.Controls)
  {
      if (ctrl.GetType() == typeof(Label))
      {
          //Do Stuff...
      }
  }
  </code></pre>
  
  <p>but when i try to get the other controls with</p>
  
  <pre><code>foreach (Control ctrl in this.form1.Controls)
  </code></pre>
  
  <p>it doesn't work completly.</p>
  
  <p>I get 3 of my Labels but can't access the rest.</p>
  
  <p>Here is a part of my ASP Code</p>
  
  <pre><code>&lt;div style="float: right;"&gt;
      &lt;ul class="main-language language-level main-language-level-0" &gt;
          &lt;li&gt;&lt;a href=""&gt;
                  &lt;asp:Label runat="server" Text="Deutschland" ID="lbl_Language"/&gt;
              &lt;/a&gt;
              &lt;ul class="language-level main-language-level-1"&gt;
                  &lt;li&gt;
                      &lt;a href="?Lng=EN"&gt;
                          &lt;asp:Label ID="lbl_English" runat="server" Text="United Kingdom" ForeColor="#0D679C" Font-Names="Century Gothic" /&gt;
                      &lt;/a&gt; 
                      &lt;span&gt;English&lt;/span&gt;
                  &lt;/li&gt;
                  &lt;li&gt;
                      &lt;a href="?Lng=DE"&gt;
                          &lt;asp:Label ID="lbl_German" runat="server" Text="Deutschland" ForeColor="#0D679C" Font-Names="Century Gothic" /&gt;
                      &lt;/a&gt;
                      &lt;span&gt;Deutsch&lt;/span&gt;
                  &lt;/li&gt;
              &lt;/ul&gt;
              &lt;img class="menu-image" src="Images/arrow_languageselection.png" /&gt;
          &lt;/li&gt;
      &lt;/ul&gt;
      &lt;br /&gt;
      &lt;a href="CustomerServiceLogin.aspx?Lgn=22TR" runat="server" id="LogLink"&gt;
          &lt;asp:Label CssClass="ButtonOrange" runat="server" ID="lbl_Login" /&gt;
          &lt;asp:Label CssClass="ButtonOrange" runat="server" ID="lbl_Logoff" Visible="false" /&gt;
      &lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The only labels i can find are <code>lbl_Language</code>,<code>lbl_English</code> and <code>lbl_German</code></p>
  
  <p>Has somebody a solution for this?</p>
  
  <p>Sincerely</p>
  
  <p>CarnVanBeck</p>