title: Problem placing ContentPlaceHolder within <script> tags
body: <p>I have this in an ASP.Net Master Page:</p>
  
  <pre><code> &lt;script language="javascript" type="text/javascript"&gt;
          &lt;asp:ContentPlaceHolder ID="scriptContentHolder" runat="server"&gt;&lt;/asp:ContentPlaceHolder&gt;
      &lt;/script&gt;
  </code></pre>
  
  <p>But when I try to view the content page in design mode it tells me there is an error in the associated Master page because "scriptContentHolder" does not exist.</p>
  
  <pre><code>&lt;asp:Content ID="scriptContent" ContentPlaceHolderID="scriptContentHolder" runat="server"&gt;
      g_page = "mnuSurveys";
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>If I change the Master page to this:</p>
  
  <pre><code>&lt;asp:ContentPlaceHolder ID="scriptContentHolder" runat="server"&gt;&lt;/asp:ContentPlaceHolder&gt;
  </code></pre>
  
  <p>and the content page to this:</p>
  
  <pre><code>&lt;asp:Content ID="scriptContent" ContentPlaceHolderID="scriptContentHolder" runat="server"&gt;
  &lt;script language="javascript" type="text/javascript"&gt;
      g_page = "mnuSurveys";   
      &lt;/script&gt;
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>Then all is cool. Why is this? The page compiles and executes just fine... but as above the designer squawks when placing ContentPlaceHolder controls within  tags.</p>