Horizontal Scroll Bar not displaying when using 2010 ReportViewer control
-
Tuesday, September 18, 2012 6:03 PMWe 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?
All Replies
-
Wednesday, September 19, 2012 2:11 PM
Add this line to the code for a workaround:
ReportViewer1.Style.Add("margin-bottom", "26px");- Proposed As Answer by FunBI Wednesday, September 19, 2012 7:41 PM
-
Wednesday, September 19, 2012 7:45 PM
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.
-
Thursday, September 20, 2012 5:57 AMModerator
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 PropertyRegards,
Mike YinTechNet 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
- Proposed As Answer by Mike YinMicrosoft Contingent Staff, Moderator Sunday, September 23, 2012 5:32 PM
- Marked As Answer by Mike YinMicrosoft Contingent Staff, Moderator Wednesday, September 26, 2012 5:39 PM

