in

Prologika Forums

Business Intelligence to the Masses

This Blog

Syndication

News

Visit prologika.com for information about Teo's publications, the latest on the Microsoft Business Intelligence initiative, and more...

Prologika (Teo Lachev's Weblog)

Teo Lachev is a consultant, mentor, and author focusing on the design and development of Microsoft .NET business intelligence solutions. Read about Teo's work and life. Registered users can post comments.

April 2008 - Posts

  • Tricksy Parameter Prompts

    Q: How to make the darn parameter drop-down list wider in HTMLViewer? HTMLViewer is the Report Manager control that displays the report when you view the report.

    A: HTMLViewer supports limited customization via a CSS stylesheet.

    1. Copy HTMLViewer.css to MyHTMLViewer.css in the same folder (Reporting Services\ReportServer\Styles). Note that the actual folder path varies between SQL Server versions.
    2. Add the following CSS style to MyHTMLViewer.css

    SELECT {

    font-size: 8pt;

    font-family: Verdana;

    width:200px

    }

    As a result, all SELECT elements on the page (all dropdowns, such as parameter prompts, zoom, export) will pick up these settings.

    1. Configure the server to use the custom stylesheet by one of these options:
      1. If you want to apply the custom styles to all reports, add a new HTMLViewerStyleSheet element to the rsreportserver.config file, such as:

    <Configuration>

    ...

    <HTMLViewerStyleSheet>MyStyleSheet</HTMLViewerStyleSheet>

    ...

    </Configuration>

    Note that due to an unfortunate bug, the HTMLViewerStyleSheet setting doesn't work with February CTP of SQL Server 2008 but it will be fixed in the final release.

    1. Use the rs:Stylesheet device setting to apply the custom style to given report only, such as:

    http://localhost/ReportServer?/AdventureWorks Sample Reports/Product Line Sales&rs:Command=Render&rc:Stylesheet=MyStylesheet

  • Applied Microsoft SQL Server 2008 Reporting Services

    This is not an April's fool joke. I am excited to make an early announcement about my next book, Applied Microsoft SQL Server 2008 Reporting Services, which has been keeping me busy lately. There are many exciting features coming up the next (third) release of Reporting Services which deserve coverage by your humble correspondent. I'll disclose more details about the book in the coming months as the project evolves.

    Got spinny?

Copyright © 2005 Prologika, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems