Fix SSRS ReportViewer and ReportManager Display on Firefox

I love Reporting Services. I really do. But sometimes, just sometimes, it does generate extra work for me especially when clients are not using IE.

First Fix – ReportManager

This one is still a “temporary fix”. This still does not allow to scale width to 100%

To do this, we need to override a few CSS classes.

1. Go to the Reporting Services CSS file. This typically resides in a folder similar to:
D:Program FilesMicrosoft SQL ServerMSSQL.3Reporting ServicesReportManagerStylesReportingServices.css

2. Add the following to the end of the file, to make sure these styles get applied last

.DocMapAndReportFrame
{
   min-height: 860px;
   min-width: 1000px;
   width:100%;
}

.msrs-contentFrame
{
   min-height: 860px;
   min-width: 1000px;
   width:100%;
}

.msrs-contentFrame .msrs-buttonHeaderBackground
{
   min-width:1000px;
   width:100%;
}

Second Fix – ReportViewer

1. Go to your SQL Server install directory and browse to where ReportViewer.aspx is. This will typically reside in a directory similar to:

D:Program FilesMicrosoft SQL ServerMSSQL.3Reporting ServicesReportServerPagesReportViewer.aspx

2. Add the following inline style to the RS:ReportViewerHost tag. If you want, you can also just add a CSS block at the header, or add the style to the CSS file. Your call.

style="display:table; margin: 0; overflow: auto"

So what you should end up with is something like:

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

Thanks to the FireFox forum for this answer
http://support.mozilla.com/tiki-view_forum_thread.php?locale=tr&comments_parentId=73195&forumId=1

Advertisements

One comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s