Facebook

If you are doing this in ASP.net. Then add ASP NET Folder App_Browser. Then add Browser File and replace all text with text below or download file attached below:


<browsers>
 <browser id="IE11Preview" parentID="Mozilla">
 <identification>
 <userAgent match="Trident/(?'layoutVersion'\d+).*rv:(?'revision'(?'major'\d+)(\.(?'minor'\d+)?))" />
 <userAgent nonMatch="MSIE" />
 <userAgent nonMatch="IEMobile" />
 </identification>

 <capabilities>
 <capability name="browser" value="IE" />
 <capability name="layoutEngine" value="Trident" />
 <capability name="layoutEngineVersion" value="${layoutVersion}" />
 <capability name="extra" value="${extra}" />
 <capability name="isColor" value="true" />
 <capability name="majorversion" value="${major}" />
 <capability name="minorversion" value="${minor}" />
 <capability name="screenBitDepth" value="8" />
 <capability name="type" value="IE${major}" />
 <capability name="version" value="${version}" />
 <capability name="isColor" value="true" />
 <capability name="screenBitDepth" value="8" />
 <capability name="ecmascriptversion" value="3.0" />
 <capability name="jscriptversion" value="6.0" />
 <capability name="javascript" value="true" />
 <capability name="javascriptversion" value="1.5" />
 <capability name="w3cdomversion" value="1.0" />
 <capability name="ExchangeOmaSupported" value="true" />
 <capability name="activexcontrols" value="true" />
 <capability name="backgroundsounds" value="true" />
 <capability name="cookies" value="true" />
 <capability name="frames" value="true" />
 <capability name="javaapplets" value="true" />
 <capability name="supportsCallback" value="true" />
 <capability name="supportsFileUpload" value="true" />
 <capability name="supportsMultilineTextBoxDisplay" value="true" />
 <capability name="supportsMaintainScrollPositionOnPostback" value="true" />
 <capability name="supportsVCard" value="true" />
 <capability name="supportsXmlHttp" value="true" />
 <capability name="tables" value="true" />
 <capability name="supportsAccessKeyAttribute" value="true" />
 <capability name="preferredRenderingType" value="html5" />
 <capability name="tagwriter" value="System.Web.UI.HtmlTextWriter" />
 <capability name="vbscript" value="true" />
 </capabilities>
 </browser>
</browsers>

Setting compatibility mode meta tag will not be helpful.

Leave a Reply

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