September 4, 2012 at 7:40 am
Using SSRS 2008 R2, if I programmatically hide a column, how can I shrink my report width to match the now smaller tablix width?
Thanks,
Rob
September 4, 2012 at 8:15 am
Have you tried the ConsumeContainerWhitespace property?
September 4, 2012 at 3:02 pm
Setting ConsumeContainerWhitespace to True (from default False) doesn't change the report width.
December 8, 2015 at 9:35 am
Has anyone figured out a solution to this? I am having the same problem. I want to dynamically hide columns in my report, so the tablix needs to be wide to accommodate all of the columns. But once certain columns are hidden, I want the report to shrink and only be as wide as is needed to show the selected columns. This works fine when rendered in the viewer, but the export to pdf shows blank pages, even when the content fits within a standard landscaped page.
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy