在ASP.NET中将BrowserMode从IE10更改为IE10 compatibilityView [英] Change BrowserMode from IE10 to IE10 compatibilityView in ASP.NET

查看:78
本文介绍了在ASP.NET中将BrowserMode从IE10更改为IE10 compatibilityView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想在ASP.NET中将BrowserMode从 IE10 更改为 IE10 compatibilityView 在浏览器设置中,例如在工具菜单中选中兼容性。我想在ASP.NET中明确地将browsermode更改为IE10 compatibilityView。



任何人都知道解决方案请告诉我。





Harikrishna。

Hi,

I want to change BrowserMode from IE10 to IE10 compatibilityView in ASP.NET not in browser setting like check Compatibilty in Tools Menu. I want to explicitly change browsermode to IE10 compatibilityView in ASP.NET.

Anybody knows the solution please tell me.


Harikrishna.

推荐答案

您无法从Web应用程序控制此行为。这只是IE特有的愚蠢,但Web应用程序旨在与标准浏览器一起使用,至少部分实现W3标准。我建议您在假设不存在兼容性视图的情况下编写应用程序。



-SA
You cannot control this behavior from a Web application. This is nothing but IE-specific foolishness, but the Web applications are designed to work with standard browsers, at least partially implementing the W3 standards. I would suggest you write your application in assumption that no compatibility views exist.

—SA


这篇关于在ASP.NET中将BrowserMode从IE10更改为IE10 compatibilityView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆