Hello all.
I tried finding a solution for this online, but the documentation on this is sketchy.
Here's my scenario: I have an SSRS report that gets its data from a query. I have been asked to modify the report in such a way that a certain section of it needs to be hidden if our customer wants an emailed version of the report from Print Management that is not relevant to them. I figured out by adding a new range to the query, I could use that range value to determine if it needs to hide the tablix or not. However, the report as designed uses a dynamic range and in order to access the parameter more efficiently, I changed the parameters from dynamic to static. Now when I run the report, it times out. I added three text boxes to pass the parameter values into and they all came up blank. So I am pretty certain the reason the report is bombing is because it is now running wide open and the base table has too much data.
Am I right in thinking that in order to bind the ranges to the static parameters I need to override the data contract for the report to use something custom instead of the base data contract class? If this is the case, can anyone think of an easier way to tell the report to hide the tablix if we are running the report in a certain context? We want to run this report with and without print management, so we actually have two controller classes that call the report (One that extends SRSReportRunController and another that extends SRSPrintMgmtController) so if there was a way I could figure out what controller is calling it, maybe I could hide the tablix that way as well.
Any suggestions greatly appreciated.
Brandt
*This post is locked for comments
I have the same question (0)