[英]Tree view in asp.net not expanding in IE10/win 8
我正在使用Web应用程序。我的网站上有一个树视图。它是进入整个网站的主要导航工具。但是树视图在IE 10 / Win 8中没有扩展。
Refer : Microsoft.Web.UI.WebControls Treeview not rendering on some machines 参考: Microsoft.Web.UI.WebControls Treeview在某些计算机上未呈现
Microsoft.Web.UI.WebControls.Treeview is an obsolete control. Microsoft.Web.UI.WebControls.Treeview是一个过时的控件。
The most likely reason why your tree control breaks is that it does not work on Windows 8/IE10. 树形控件中断的最可能原因是,它在Windows 8 / IE10上不起作用。
Best option is to convert to System.Web.UI.WebControl.TreeView 最好的选择是转换为System.Web.UI.WebControl.TreeView
Quick fix: add the following code to your Global.asax.vb.Application_EndRequest. 快速修复:将以下代码添加到Global.asax.vb.Application_EndRequest。 This will force IE to load your application in compatibility mode.
这将迫使IE以兼容模式加载您的应用程序。
Try
Response.AddHeader("X-UA-Compatible", "IE=5")
Catch ex As Exception
End Try
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.