Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图运行 webbrowser 控件,我发现默认情况下它使用的是 IE7,我尝试了不同的修复,比如编辑注册表值或其他 - 没有一个有效。我正在使用 .net framework 4.0 并且想知道控件如何仍然卡在 IE7 上?如何更新控件以使其使用 IE8+ 而不是 IE7?任何人,请帮助提供信息
提前致谢
打开头部后添加以下内容就行了
<meta http-equiv="X-UA-Compatible" content="IE=8" />
如果安装在客户端计算机上,这将呈现为 IE。或者,您可以使用
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
在客户端机器上以最高可用的 IE 呈现。如果 HTML 不是您自己的(外部),也许您可以使用预加载事件将该行添加到 HTML