SSRS Hidden footer occupying space - reporting-services

I'm working on a SSRS report which has different formats for the first page and the overflow pages. The first page has a large footer that shouldn't be displayed on the overflow pages. I'm hiding it using an expression on current page number but it still occupies space. The body on overflow pages does not span the whole page and leaves a large blank space at the bottom. Is there any way to solve this?
Thanks in advance,
Sumit

There is not a good way to hide that empty space(As far I know. I did lot of research when I stuck with this issue.).But if you are showing footer only on the first page then add the footer content on the report content part and then set it's visibility depending on the page number. That way you are showing the footer content on first page only. And if you are repeating that page footer on last page that also works depending on condition and it doesn't occupy the empty space on the page.

Related

SSRS report - footer with different height

I have a report with two pages. Both have a footer but with different objects. The footer on the second page would have bigger height because of additional objects. Unfortunately, the first page would get a footer with extra height that messes up pagination. Any tricks to solve that?
Thanks

SSRS - Page Footer Items Moving

I have a report where by the page footer data appears on a pre formatted cheque paper. Therefore, the text box positioning of the footer items cannot change.
The problem is that in my report body I have a tablix. When the row count causes the report to display across more than 1 page, the footer data moves down about half an inch.
I've set the report header to appear only on the first page, and the report footer to appear only on the last page.
Does anybody know of a way to stop this shifting of footer data?
(The first image shows the footer rendered correctly when report on 1 page.
The second image shows the footer data moving down off the page when the report is more than 1 page)
Fixed. Issue was the average price expression in the footer wasn't rounded, pushing the text box down, and with it the rest of the footer data down.

Is it possible to force page breaks when styling for printing?

I have a web page consisting of a dynamically generated report and when printing out the page, it usually spans to multiple printed pages. The content is grouped within divs and when printing a lot of times the content within the divs will get cut from one page to the next. Is there any way to style this so that if a div gets cut from one page to the next, instead somehow have a page break inserted so that each page will only contain the divs in their entirety (with no cut-offs)?
you must use page-break
here is a doc
https://developer.mozilla.org/en/docs/Web/CSS/page-break-after

SSRS White Space / Blank page Issue

I am having issues with blank pages turning up in pdfs/printing etc.
Reason seems to be the layout of my report.
I have a fixed width corporate header that fits the page. I then have a main report area with a dynamic number of columns grouped across the page.
The main report has a width of approx. 4" on the design screen, leaving a white space to the right of this of 6.5". I know that after the column groups expand out SSRS will try to render 6.5" of white space after it because that is the difference between my header (which I cannot change) and my main data area.
I understand the problem, and why it happens, that much is well documented. What I need to know if anyone has found a work around for this? I can't give management the answer "Sorry, that's the way it is."
Many thanks.
The reports ConsumeContainerWhiteSpace property
Gets or sets a value that indicates whether all whitespace in containers, such as Body and Rectangle, should be consumed when contents grow instead of preserving the minimum white space between the contents and the container.
This can be set by clicking the Report body, going to the properties (F4) and setting ConsumeContainerWhiteSpace to True

How can I have a 10cm page footer only on the last page

I am using reporting services 2012 and want to display a group of elements at the bottom of the last page.
I have tried putting this in the footer and hiding the elements for all but the last page, however this doesn't work very well as there is a large blank space at the bottom of all of the preceding pages.
If there was a way of aligning the elements to the bottom of a page that would work, but I cant see any way of doing that. If there was a way to push the elements to the bottom of the page using a rectangle that has a dynamic height, that would also work, but I also cannot find a way of doing that.
Any suggestions?
Unfortunately, page headers and footers must be one constant size in SSRS. That is why you are getting all of that whitespace, and as far as I know, there is no workaround for this.
However, what you can do is page break at the end of your main table / report. Then have another table display the elements you want. Make this second table the height of a full page and put the elements at the bottom. Go into the Tablix Properties and check "Keep together on one page if possible".
If the second table doesn't work, try a subreport.
If you want to have the footer on the same page as the last page of data, this doesn't work. The only way I know of to do that is a major hack: check how many rows come back from the database and calculate how much space they will need to display. Then at the end calculate how big of a rectangle you need to make in between your main table and your second table to push it to the bottom of the page.