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.
Showing posts with label vertical. Show all posts
Showing posts with label vertical. Show all posts
Friday, March 30, 2012
ReportViewer Control in ASP.net
If you could please help, I would like to know if we can add a vertical or horizontal scroll bar to the reportviewer?
Your Report should have that automatically one the screen fills up your scrollbars should appear
sql
Subscribe to:
Posts (Atom)