Blog
Welcome to the Trioro Tech Blog.
On this blog we post some of the technical challenges and solutions that we've come across. From time to time we also post comments on new technology that we've come across.

Thursday, November 13, 2008

SQL Reports and Firefox 3

Want SQL Reports to render in your browser on the Mac or in any Firefox browser?

Without this fix you end up with a 2 inch frame containing the report contents.

Here's the fix I applied to get this to render properly:

Step 1 Was a CSS fix found on asp.net.
Add the following to the ReportingServices.css file (by default, it's found in "C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportManager\Styles\"):

 /* Fix report IFRAME height for Firefox */

.DocMapAndReportFrame
{
min-height
: 860px;
}
Step 2 Was an ASPX fix found on a TechNet Forum.

C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer\Pages\ReportViewer.aspx

Add info to the <RS> tag style property

<RS:ReportViewerHost style="display:table; margin: 0px; overflow: auto" ID="ReportViewerControl" runat="server" />

Works like a charm!


Blogged with the Flock Browser

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home