ReportViewer height issue. Hiding scrollbars.
Posted
by Tommy Jakobsen
on Stack Overflow
See other posts from Stack Overflow
or by Tommy Jakobsen
Published on 2009-09-04T23:29:24Z
Indexed on
2010/03/23
17:43 UTC
Read the original article
Hit count: 346
reporting-services
|reportviewer
Hi,
I'm using MSSQL 2005 Reporting Services and in this case I need to display some reports on an ASP.NET page using the ReportViewer control (I guess thats the only way, right?).
The problem is that I can't get the property SizeToReportContent
to work. When displaying the report, I get a vertical scrollbar because the report is too large. It looks like an iframe window.
Searching on google it seems to be a bug. It can be fixed by setting AsyncRendering
to false
but I don't want that. I need another solution.
I was wondering if it's possible to set the height on the report element using JavaScript after the report has been loaded?
Or do you know of another solution? This is really annoying.
Thanks in advance.
© Stack Overflow or respective owner