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

Hiding a tablix hides all objects below it?

$
0
0

SSRS 2008 R2 SP1

Mulitpage report with many conditionally populated and hidden controls.

Whole report is wrapped in a list - the report can be run for a single record or batches.

Bottom of page two has a problem where the 5th control from the bottom is a tablix and it's hidden state effects all other controls below it, whether hidden by expression or hard coded to true or false.

Locally this happens when I view the report in print layout, save as PDF, or print to paper. On the server this happens when printed or exported to PDF. Otherwise report views correctly on screen.

To try and figure out what's going on I've set all bottom controls to Hidden = False. Everything shows in print layout as expected.
Next, starting at the bottom I re-introduced my expressions that need to conditionally hide controls. All the way up to the tablix everything works correctly.
However whether I hard code visibility of the tablix to Hidden = True or use an expression that evaluates to True, all controls below the tablix hide.
Setting Hidden = False for the tablix causes all of the controls below it to show.

I've looked at the report XML wondering if I had inadvertantly nested something and it doesn't look like it.
I've set the DataElementOutput to Output.
I have printouts of this report where the controls were acting correctly. I recall my system crashed at one point when I was working on this so maybe something got corrupted. With that in mind I rebuilt the report into a new rdl and still no luck.

The thing that the controls have in common is that the whole report is in a list, however all other controls (text boxes, tablixes, lines, rectangles, and a page break too) above the tablix show and hide correctly.

Any and all advice is appreciated!


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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