How to avoid IE10 version compatibility issue while using Visualforce Page

Please add following piece of code in your Apex Class Controller Consturctor

Apexpages.currentPage().getHeaders().put('X-UA-Compatible', 'IE=10');

You could try this with IE=8 and IE=9 in the above line as well.

Written by 

Salesforce MVP | Lightning Champion | 17x Salesforce Certified | Application Architect | 7x Trailhead Ranger | Techforce Services | Australia

Leave a Reply

Your email address will not be published. Required fields are marked *