存在comapatability设置然后IE将转到7版本。 [英] comapatability settings present then IE is going to 7 version.
问题描述
您好,
我在Silverlight应用程序中遇到问题,我在IE浏览器的兼容性视图中添加了一个网站,然后我尝试启动应用程序然后IE版本自动转到7版本。
任何人都可以帮助我,我们有没有办法从silverlight代码设置默认的IE版本或者任何其他方式。
请就此问题向我推荐。
谢谢&问候
PVR
Hi PVR ,
如果我将Silverlight Web应用程序添加到IE兼容性视图中,我会得到相同的结果。
如果您希望默认模式为IE 11,我们需要在.aspx页面中使用以下代码进行分配。
< meta http-equiv =" X-UA-Compatible"含量=" IE = EmulateIE11" />有关定义文档兼容性的更多信息,请参阅以下文档。
https://msdn.microsoft.com/library/cc288325%28v=vs.85%29。 aspx?f = 255& MSPPError = -2147217396
Hello,
I am getting an issue in Silverlight application, i added a website in compatability view in IE browser , then i try to launch the application then IE version is automatically going to 7 Version.
Could anyone help me , do we have any way to set default IE version from silverlight code or any other way.
Please suggest me on this issue.
Thanks & Regards
PVR
Hi PVR,
I get the same result if I add my Silverlight web application into IE compatibility view.
If you want the default mode is IE 11, we need to assign it in the .aspx page with following code.
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11" />More information about Defining document compatibility, please refer to following document.
https://msdn.microsoft.com/library/cc288325%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
这篇关于存在comapatability设置然后IE将转到7版本。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!