Friday, February 17, 2012

Document Map Formatting

Does anyone know if it is possible to control the formatting of the Document Map in SSRS? I would like to set the background color if possible.

I'm not sure what you mean by "Document Map". Are you just asking how to set the background color of a report?

On the layout tab, right click the background grid (body) of the report. Click properties then change the background color in the properties window.

|||If you edit the properties of a table or a matrix group you have options for Document map label and Parent Group. These attributes draw the Document Map dynamically. At runtime the map is a plain black font on white background and it does not take on the properties of the report body.|||I'm not sure you can Ben, the style is controlled by a style sheet:

Code Snippet

style sheet:<link href="/Reports/Reserved.ReportViewerWebControl.axd?OpType=StyleSheet&amp;Version=2005.090.3042.00" rel="stylesheet" type="text/css" />

|||Can you change the stylesheet?|||

I found a blog that demonstrates how to override the CSS at runtime.

http://blogs.msdn.com/bimusings/archive/2005/07/08/436887.aspx

No comments:

Post a Comment