Horizontal Scroll Bar not displaying when using 2010 ReportViewer control
We have a VS 2008 matrix report that is viewed within an ASP page using the 2010 viewer control. When the matrix gets to be too large for the page, we do not get horizontal scroll bars in IE to display the last columns. The vertical scroll bar appears, but no horizontal bar. How can we get the horizontal scroll bar to appear?
September 18th, 2012 2:15pm

Add this line to the code for a workaround: ReportViewer1.Style.Add("margin-bottom", "26px");
Free Windows Admin Tool Kit Click here and download it now
September 19th, 2012 10:31am

We tried that, but did not work. What we have done as a work around is rather than saying "Zoom to page" we have hard coded in a height and width of the control, which then puts in the scroll bars.
September 19th, 2012 4:04pm

Hi dachrist, Thanks for your question. Based on the current information, please make sure the "SizeToReportContent" property of the ReportViewer control has been set to "False". If the horizontal toolbar is still not visible after that, I suggest that you go with the workaround setting hard coded Height and Width of the ReportViwer control. Reference: ReportViewer.SizeToReportContent Property Regards, Mike Yin TechNet Subscriber Support If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.Mike Yin TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
September 20th, 2012 2:16am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics