SSRS Rendering On Server Adding Whitespace - reporting-services

I have a report, and on that report is a rectangle with a bunch of textboxes that are only visible based on a Visibility Expression for each box.
When I run my SSRS report on my desktop, or if I convert it to a PDF from the server, it looks fine. When a textbox is not visible, the box underneath moves up to fill the void.
When I just let it render through a browser on the server using (&rs:Command=Render) it's adding white space to move it to the middle of the rectangle so it is not formatting properly.
Here's what it looks like when only one of the lines is visible when it's on my desktop or when saved as a PDF (or image) file:
The red box is moved up to right underneath the black box when all the other boxes are not visible. That's what I want.
When it's rendered on the server, it looks like this:
It's moving the red box to the middle of the rectangle for some reason.
It's not the browser, I've tried 3 and it looks the same in all of them.
I've setting the consume container white space property to both true and false for the report and it makes no difference.
I can't add the textboxes to a tablix as this is a subreport that takes parameters and cannot have a datasource or dataset.
Any ideas on how to get rid of that whitespace when only one or a few lines are visible?
Thanks.

Related

SSRS report creating empty second page in PDF format only

I have a SSRS report that fits in one page. When saving it in PDF or Word, a empty second page is created. My borders as set to 0.25 inches. Any ideas on what can be done to prevent printing the second empty page?
Check for these things:
The report body width - if your report width (different than report body) is 8.5in. and you have .25in. left and right margins. Then your report body width has to be 8in. or less.
Page breaks - check your dataset(s) and rectangle (if any) properties to see if you have page break options checked, either "add a page break before" or "add a page break after".
White space - remove any white space from the bottom of your last dataset to the bottom of the report by dragging the bottom edge higher.
I was able to resolve this extra page my moving the footer area next to the bottom of the tablix grid with zero padding in between.

SSRS Adding whitespace to right of fields

So I'm currently creating a report and whenever I render the report on CRM Dynamics it's adding a ton of whitespace to the right of every field like this:
Bunch of white space
What I've tried so far:
-Changing CanGrow to false (I'm aware that CanGrow only affects if it can grow vertically)
-Adding the table to a new report
-Setting ConsumeWhiteSpace to true
I've been looking for a way to make the table columns static but according to Microsoft's documentation, they should be static by default.
For reference here is how I want the report to look, this is the view I get when getting the preview in Visual Studios: What I want it to look like
Right click the grey space outside of your report and go to properties. Make sure your report is in portrait mode and set your margins. With default margins of 1" your page width should be under 6.5". Drag the border of your page to the left until it is LESS than 6.5" (so you can't see the .5" hash mark). If you adjust your margins to be smaller you can make it a bit wider but I don't recommend less than .5" margins.
I think what is happening is your page is so large the tables are stretching to with the empty space.

Rectangle or Border look alike behaviour on SSRS report

How can I have fixed rectangle inside the report body for every page ? I am placing a tablix, after that a matrix inside that rectangle.
I have attached pictures of my ddl design view, pdf view and desired result layout.
So far, I have tried to use fixed tablix size by using sql insert empty row. But this way, I wasn't able to put my matrix inside it.
By simply using rectangle, since the rectangle is fixed sized and I am getting problem when my tablix has more data and it is pushing down the rectangle if I have some space below my tablix and matrix.
Any insight will be greatly appreciated.
In your Report Properties, set the ConsumeContainerWhiteSpace setting to true and make your Rectangle as large as it need to be on a page. In doing this, the tables will grow into the white space with each row and not push the bottom of the rectangle until the table is too large to fit.

Make footer appear at the bottom of Report Page even if there is no data

I'm working on SSRS Report.
How to make footer appear at the bottom of Report page, when there is no data to show in tablix?
Currently all reports footer is appearing immediate next to the Tablix Last Row. It should always appear at the bottom of every page whether data is present or not.
Please help me!
Put an empty Rectangle item to the right of your data tablix, with it's height as the minimum height you want the report body to take up. Even if the tablix has no data, the Rectangle will act as a minimum height.
In my screenshots the rectangle is blue and the footer is yellow to highlight what happens. You can make your rectangle whatever colour and width you want. From my testing in SSRS 2008 R2, this still works even if the rectangle has no colour and the report's ConsumeContainerWhitespace property is True.
If you're printing the report or exporting it to PDF etc., you shouldn't have to worry about this. The page size of the print/export will automatically put the footer at the very bottom of each page, regardless of the body contents.

In SSRS, can you set a rectangle to grow with its contents?

I'm working on a report in SSRS (SQL Server Reporting Services) right now, and I'm having a problem getting a rectanlge I draw on the page in the report designer to grow. Basically, I've got a rectangle drawn, and then I put a text field inside of it. The contents of this text field can be either very short or very long, so I want it to grow to accomodate its contents.
But when I enter the long text, the textbox grows and then sticks outside of the lines of the rectangle. From the SSRS documentation I read, it says rectangles should grow to contain the items within them, and that those items are "peers".
What gives?
The only way I can get a textbox to breach the border of a rectangle is if the textbox is not actually inside the rectangle, but instead is underneath it.
When the textbox is inside the rectangle, and when the textbox property CanGrow = TRUE then the textbox and its rectangle both grow vertically downward to accommodate large amounts of text.
I was seeing the same issue. My problem was that I had the text boxes first and then put the rectangle around it and sent it to the back. Once I dragged the text boxes off and then back onto the rectangle, it grew properly.
You can tell whether the textbox is in the rectangle or on the body (e.g.) by looking at the Parent property of the textbox. If the textbox is outside of the rectangle, it works well to cut the textbox and paste it into the rectangle. I've had issues at times when trying to drag objects into (onto) a rectangle.
Maybe a little late - but it may help someone later.
The rectangle can serve as a container.
To turn the rectangle into a container, create the rectangle first. Just drop your other child-object elements (e.g. lists, tables, etc) into the container.
However, you cannot create the container after creating the child objects.