I have a visualforce page that is embedded in a page layout. I would like this page to force Internet Explorer to use "Browser Mode: IE10" and Document Mode: "Standards".
What I've done so far: Inside the controller, I've put the following code in the constructor:
I've tested it and it's working nicely if I navigate directly to my visualforce page instead of viewing it from the page layout. The document mode is not set to IE10 if I view it from the page layout ( when it's embedded).
From my understanding, this property needs to be set before the page is rendered meaning that I can't set it from my vfpage as the "parent page" is already rendered.