Visual force page will not support meta tags, after my research I have got the following solution which is working just fine for me.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page controller="apexController"> | |
<!--BODY of the page --> | |
</apex:page> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class apexController | |
{ | |
public apexController() | |
{ | |
Apexpages.currentPage().getHeaders().put('X-UA-Compatible', 'IE=edge'); | |
} | |
} |
Comments
Post a Comment