Showing posts with label style. Show all posts
Showing posts with label style. Show all posts

Thursday, March 22, 2012

custom styles usage

I am amazed that we cannot use our own styles?. There is only a predefined set of styles in HTMViewer.css to which we cannot add our own style names and use it for a textbox?

Has anyone done this?

Thanks

Using Custom Style Sheet in SQL Reporting Services 2000

Changing the style-sheet in SQL Reporting Services is one question that I have seen commonly asked in the forums. Well yes the answer is straight forward but at times some straight answers don’t work :) .

Following is my finding on how to use your own style sheet in Reporting Services:

Prerequisite : SP2 hot fix: http://support.microsoft.com/default.aspx?scid=kb;en-us;901383

Following are the steps for using custom style sheet in Reporting Services:

1. Add <HTMLViewerStyleSheet> element in RSReportServer.config within the <configuration> element.
2. DON’T include the ".css" extension in the name of the style sheet.
3. Example: <HTMLViewerStyleSheet>htmlviewer2</HTMLViewerStyleSheet>

Following is going to fail:
<HTMLViewerStyleSheet>htmlviewer2.css</HTMLViewerStyleSheet>

Following works:
<HTMLViewerStyleSheet>htmlviewer2</HTMLViewerStyleSheet>

Make sure that the style sheet is located in the styles directory of Reporting Services (i.e. C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\Styles).

The default style sheet used by the HTML Viewer uses the font Verdana for displaying labels and dropdown values. Unfortunately, Verdana does not have full Unicode support.
SP2 (with the hot fix at http://support.microsoft.com/default.aspx?scid=kb;en-us;901383) allows you to change the stylesheet that is used by the viewer.

If you want to hide items on the Reporting Services Toolbar, you can do this by customizing each button/item individually by changing the stylesheet. Basically, you just need to change the style display:inline to display:none for the items which you don't want to show/hide on the toolbar.

Hope this should help some of you in using a custom style sheet in Reporting Services.

http://blogs.msdn.com/ketaanhs/default.aspx

custom style sheet

Is it possible to have a common styles like css in reporting service.If it is possible please let me know how to call a specific css class name in reporting service.
Regards,
Jayachandran
EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.comNope, not possible. You can modify the new report template though.
Steve MunLeeuw
<Jayachandran> wrote in message news:2006101051340ngchandran@.lycos.com...
> Is it possible to have a common styles like css in reporting service.If it
> is possible please let me know how to call a specific css class name in
> reporting service.
> Regards,
> Jayachandran
> EggHeadCafe.com - .NET Developer Portal of Choice
> http://www.eggheadcafe.comsql

Monday, March 19, 2012

Custom Report Items

Hi,
I want change reports' style after the deployment, so each client can have his style.
Nobody know I can do?

(change the color of table/matrix, insert a image...)Hi,

this can′t be done by a normal predefined report, you have to use the report builder for that. By creating a report model you wil lhave the avaibility to let the user create his own reports from scratch.

HTH, Jens Suessmeyer.

http://www.sqlserver2005.de