ReportViewer height issue. Hiding scrollbars.
- by Tommy Jakobsen
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.