Implementing custom StyleSheet in SSRS 2008 via the Report Viewer Control RRS feed

  • Question

  • Using the SSRS 2008 ReportViewer Control (NOT URL Access)
    how do I implement custom Stylesheets for a specific report?

    I already know:

    1) you can do this for ALL the report by editing the
    C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\Styles\HtmlViewer.css
    I don't want this, custom css per report.

    2) You can do it custom per report Vai URL Access

    Take a copy of this:C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\Styles\HtmlViewer.css
    call it MyStyle.css, edit it, make all the changes you want and reference it like this
    in the URL: http://localhost/reportserver?/AdventureWorksSampleReports/Product+Line+Sales&rs:Command=Render&rc:Stylesheet=MyStyle

    It works, but I can't use this either.
    It has to be done via the ReportViewer Control.

    Any Comments?
    Tuesday, June 16, 2009 3:45 PM


  • The standalone report viewer control does not take advantage of the same stylesheets used by the report server natively.  However, the ReportViewer does provide a number of properties to customize the general look and feel in a way similar to that of the stylesheet, through properties such as ToolbarItemHoverBackColor and InternalBorderStyle.
    • Marked as answer by Raymond-Lee Thursday, September 24, 2009 10:05 AM
    Thursday, June 18, 2009 5:40 PM