Add http-equiv meta tag for IE8 Standards Mode

Add http-equiv meta tag for IE8 Standards Mode


Is there a way to customize a Web Screen so that it renders in IE8 Standards mode?

I checked the AddMetaTag action from the HtmlRequestHandler extension but it only supports meta tags with name/value properties, not the http-equiv type required to set the X-UA-Compatible meta tag in the header.

I also tried with javascript createElement without success... Any ideias?

Hi Milton,

You could use HTTPRequestHandler.AddPostProcessingFilter("<\/title>","</title><meta.../>") in the preparation of your web screen.

Tiago Simões
Thanks Tiago, that worked perfectly!
Hi, just a quick note.

If you want to force IE to use the latest mode irrespective of what version the user has, use

<meta http-equiv=“X-UA-Compatible” content=“IE=edge” />
Also, if you are using IIS and you need to set the tag in the header of every page, you can configure IIS to do so (although when using IE, the Service Center pages look a bit ugly in that case...).
Hi Kilian,

Just a bit out of curiosity, did you have a request to get your pages in IE 8 mode? Or was just as a info for the topic?
What if we always forced the edge mode?

João Rosado
Hi Joao, I'm afraid I don't exactly understand your question. Since I anticipate this post will be found by others needing to always set a specific mode (instead of just on a specific web screen), I thought I'd offer some information on that.