Trying to Emulate IE 8, and it is not working: <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />

I need to place my browser in IE8 mode when it runs my web application. I placed this html in the head section in my master page:
   <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />

Yet when my code runs, the browser is still in IE11 mode. I tested this by placing a button on a web form that uses the master page. When I trace into my C# code of Button1_Click, I can see that the browser is using IE11 mode. See the code in my Button1_Click clode below. This information is also written to the web page. So what am I doing wrong here? Can an expert help me out here, please?

// Default.aspx.cs

protected void Button1_Click(object sender, EventArgs e)
   HttpBrowserCapabilities brObject = Request.Browser;
   Response.Write("Browser Type: " + brObject.Type);
   Response.Write("<p>" + "Browser Version: " + brObject.Version);

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Site.master.cs" Inherits="SiteMaster" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">

<html xmlns="" >
<head runat="server" >
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <title>Master page title</title>
<asp:ContentPlaceholder ID="HeadContent" runat="server">
    <form id="form1" runat="server">
               <td><asp:contentplaceholder id="Main" runat="server" /></td>
               <td><asp:contentplaceholder id="Footer" runat="server" /></td>
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rainer JeschorCommented:
imho this will probabely not work, as the browser is still an IE 11.

You have to verify on the client side / in the browser.
When you click in IE11 "F12" (opening the developer tools) and then the "Emulation" tab. What mode do you see activated?

The browser mode just affects the selection of the client Rendering engine in IE - it does not change the user agent string the browser sends to the web site.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.