title: Why isn't the ClientIDMode being honored here?
body: <p>I have an ASP.NET 2.0 web application, and on one of the pages I have a <code>div</code> defined like this:</p>
  
  <pre><code>&lt;asp:Panel runat="server" ID="pnlAddJobCode" Visible="false" ClientIDMode="Static"&gt;
  </code></pre>
  
  <p>and it's inside of a content placeholder defined like this:</p>
  
  <pre><code>&lt;asp:Content ID="Content3" ContentPlaceHolderID="MainBodyContent" runat="server"&gt;
  </code></pre>
  
  <p>but when the HTML is generated I get a name like this <code>ctl00_MainBodyContent_pnlAddJobCode</code> so clearly it's not honoring the <code>ClientIDMode</code>. The problem is I need to set some styles on this specific <code>div</code> -how can I get the <code>ClientIDMode</code> to work here?</p>
  
  <p>Does <code>ClientIDMode</code> <strong>not work</strong> in ASP.NET 2.0? I have found a few articles on Google that <strong>elude to it not working</strong>, but nothing concrete.</p>