Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 28687

SSRS 2016 page height limited by content height, affects background colour

$
0
0

Hi

We are migrating our reports from SSRS 2008R2 to 2016 and have noticed an issue.

In 2008, when we set a  Report>>Page>>BackgroundColor property, the background colour was seen on the entire screen when viewing the report through a browser.

In 2016, it seems the colour only extends to the height of the report content. So if the content was not high enough, you'd see a white background instead.

I deployed a simple, identical report to our two environments to demonstrate.

2008R2, the teal footer shows the page footer/end of content:

2016, after the teal footer there is white:

<edit - I can't add images yet - you can easily replicate this by deploying any report with a page background colour and not enough content height to fill the screen>

The key difference here appears to be the style of container VisibleReportContent131_ct109 (2008R2) and VisibleReportContentReportViewerControl_ct109 (2016), where there used to be an inline style="HEIGHT: 100%" css rule in 2008R2, but not on 2016.

When I manually added that css rule through the DOM Explorer in 2016, I was able to get the desired result of having the container stretch to the bottom of the screen and have the background colour applied.

I have tried to no avail:

* Changing the interactive size to 0cm on height
* Consume white space true & false
* Changing page sizes 

Could I please ask whether this is a bug, or some advanced config I'm missing, and whether there is a workaround for this?

Thanks
Ed


Viewing all articles
Browse latest Browse all 28687

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>