Rectangles Acting Strange in SSRS 2008R2 Project

  • I created a project that contains many text boxes inside 2 adjacent rectangles. Those rectangles are then placed inside another rectangle (see attachment "2-5 SSRS Design1.jpg"). Under most circumstances, this works well in displaying the data in the text boxes as designed. For this one case, the left rectangle compresses width-wise thus compressing the entire outer rectangle.

    See attachment "2-5 SSRS Preview1.jpg" for how it looks when I run the report in SSRS [NOTE: Select data has been covered for security and privacy reasons.].

    See attachment "2-5 SSRS Word1b.jpg" for how it looks when I run the report and then save to MS Word. It's pretty much the same rectangle compression as in SSRS's preview, however the text box data wraps in the rectangle instead of overlapping the data in the right rectangle.

    See attachment "2-5 SSRS PDF1b.jpg" for how it looks when I run the report and then save to PDF. PDF displays it as it should look.

    Since this only happens when I run specific cases, I suspect that it has to do with the length of the data in one or more of the text boxes. What I would like to do is freeze the width of the rectangles. Does anyone know how to deal with an issue like this, or how to freeze the rectangle width? Thanks

  • Hi

    Did you try the property Consume Container Withespace to false?

    You can display on clicking on the yellow background of your designer.

    :w00t: !!!GOOGLE IS YOUR BEST FRIEND!!! :w00t:

  • Thank you for your suggestion, Mohamed. I checked and that report property is set to false. I was able to fix the problem by adjusting the text fields within the rectangle so were all uniform and well within the boundaries of the rectangle. I suspect there were one or two that were extending too close to the rectangle border. In the end, I wasn't able to come up with a definitive reason for the issue. However, what I did seemed to fix it.

  • When you have to use multiple textboxes in your report, its always good to set the size right for one textbox and just copy paste it as many times as the number of textboxes required(instead of drag and drop multiple textboxes). This ensures all the textboxes are exactly of same size and aligning them by moving around becomes a lot easier and you don't end up with abnormally formatted textboxes, and therefore abnormally looking reports.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply