ReportViewer scrollbars are not rendered correctly in IE7. The Vertical
scrollbar can be recovered and the bottom part of the report can be viewed if
you add the folowing to your page:
string userAgent = Request.ServerVariables.Get("HTTP_USER_AGENT");
if(userAgent.Contains("MSIE 7.0"))
vwrReports.Attributes.Add("style", "margin-bottom: 30px;");
But the horizontal scrollbar is not visible at all and part of the report
can not be viewed.There are 3 solutions:
1. 30px might not be enough, adjust it depending on your page content and
size.
2. Use vwrReports.Attributes.Add("style", "overflow:auto;");
3. Downgrade the ReportViewer control from its earliest version with ns:
Microsoft.Samples.ReportingServices.
Good luck.
"Lance.Wulfers" wrote:
> ReportViewer scrollbars are not rendered correctly in IE7. The Vertical
> scrollbar can be recovered and the bottom part of the report can be viewed if
> you add the folowing to your page:
> string userAgent = Request.ServerVariables.Get("HTTP_USER_AGENT");
> if(userAgent.Contains("MSIE 7.0"))
> vwrReports.Attributes.Add("style", "margin-bottom: 30px;");
> But the horizontal scrollbar is not visible at all and part of the report
> can not be viewed.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment