if (!IsPostBack)
{
string userAgent = Request.ServerVariables.Get("HTTP_USER_AGENT");
if (userAgent.Contains("MSIE 7.0") || userAgent.Contains("MSIE 8.0"))
ReportViewerYingCangDanJuDaYin.Attributes.Add("style", "margin-bottom: 30px;");
}
解决IE8,ReportViewer没有横向滚动条的问题
最新推荐文章于 2023-01-29 17:22:31 发布
本文介绍了一种针对Internet Explorer 7和8浏览器的兼容性解决方案,通过检查用户代理字符串来调整ReportViewer控件的底部边距。
6544

被折叠的 条评论
为什么被折叠?



