首页 新闻 会员 周边 捐助

SQL Report Viewer Scroll Bar

0
悬赏园豆:10 [已关闭问题] 关闭于 2008-06-25 00:10
<P>ReportViewer scrollbars are not rendered correctly in <STRONG>IE7</STRONG>. The Vertical<BR>scrollbar can be recovered and the bottom part of the report can be viewed if you add the folowing to your page:<BR>string userAgent = Request.ServerVariables.Get("HTTP_USER_AGENT");<BR>if(userAgent.Contains("MSIE 7.0"))<BR>&nbsp;vwrReports.Attributes.Add("style", "margin-bottom: 30px;");</P> <P><BR>郁闷啊, 没有水平的滚动条, 在网上查了下, 发现了些solution:</P> <P>1. Use vwrReports.Attributes.Add("style", "overflow:auto;");<BR>2. Downgrade the ReportViewer control from its earliest version with ns:<BR>Microsoft.Samples.ReportingServices.</P> <P>不知道博客园的各位老大有没有好的解决方法。第一个我已经试过了,不可以。第二个没有试。</P> <P><BR>&nbsp;</P>
-=FengLiN=-的主页 -=FengLiN=- | 初学一级 | 园豆:155
提问于:2008-06-18 14:00
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册