title: Force IE to Edge Mode rather than compatibility mode in SP2010
body: <p>I was having a terrible time forcing IE to render beyond IE8 mode in my dev environment. There were many posts that talked about IE and local 192.168.x.x ips. I created a local .net TLD that worked on my internal network but not while debugging on the dev server. </p>
  
  <p>Simply adding: </p>
  
  <pre><code>&lt;meta http-equiv="X-UA-Compatible" content="IE=Edge"/&gt;
  </code></pre>
  
  <p>did not work. I made sure it was first, I changed !DOCTYPE to plain old:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt; 
  </code></pre>
  
  <p>I also tried adding the response header at the IIS level. No Love. </p>
  
  <p>Also tried:</p>
  
  <pre><code>private void Page_PreRender(object sender, System.EventArgs e) {
      HtmlMeta MetaTag = new HtmlMeta();
      MetaTag.Attributes["http-equiv"] = "Content-Type";
      MetaTag.Attributes["content"] = "text/html; charset=utf-8;";
      Page.Header.Controls.AddAt(0, MetaTag);
      MetaTag = new HtmlMeta();
      MetaTag.Attributes["http-equiv"] = "X-UA-Compatible";
      MetaTag.Attributes["content"] = "IE=Edge,chrome=1";
      Page.Header.Controls.AddAt(0, MetaTag);
  }
  </code></pre>
  
  <p>Still no love... </p>