Why the extra sets of scroll bars when using pre-VS 2010 ReportViewer controls?
When you begin to use the Visual Studio 2005/8 ReportViewer web control (to view SQL Server Reporting Services reports) you are likely to find that it presents an extra set of scroll bars within the web page, making it hard to use. This is normal and there are several ways to make them go away. You can read about the reasons for the control’s behavior here (it is good to know that it will be “fixed in the next version,” really), and you can find lots of advice on the web about what to do about it (until the next version is ready).
There is, however, at least one other scenario where these darn things show up even though you have taken all the steps you can to prevent it. I haven’t figured out exactly what brings this on but if you include text box borders in the report that are wider than 1 point then you may run into this problem.
I wish I had time to narrow it down a little more, but what I ended up doing to make my report work correctly was select everything and force the BorderWidth property to 1 point. The problem seems to be mainly associated with outside borders, so setting the BorderStyle to “None” for all outside borders may also fix it.
Update (4/24/10):
This problem is fixed in the version of ReportViewer that comes with Visual Studio 2010.
See also this article.
Comments
Why the extra sets of scroll bars when using pre-VS 2010 ReportViewer controls? — No Comments
HTML tags allowed in your comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>