Skip to content
Create a gist now

Instantly share code, notes, and snippets.

On-demand IE9 rendering for SharePoint 2010 Master Pages.
<asp:ContentPlaceHolder runat="server" id="html5">
<-- In your .aspx page, use a override this ContentPlaceHolder using "IE=9" to enable HTML5 features - on pages where it's required... -->
<meta http-equiv="X-UA-Compatible" content="IE=8"/>
</asp:ContentPlaceHolder>
<asp:Content runat="server" ContentPlaceHolderID="html5" ID="HTML5">
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
</asp:Content>
@ConquerorsHaki

do understand right, that I can insert the first of the two codes to enable IE=9 on any page if needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.