问题
In MS Access exist "Display When Property" witch can for one objects on report define where it is going to be displayed (Print Only,Screen Only,Always). Is there analog function in SSRS2008. I usually use IIF() in visible properties for conditional showing or hiding data, But i do not know how I can something hide when it is going to print.
EDIT: Is there a possibility to this be done using C# and ASP.NET technology, or Can I make assembly for this. If I render page as HTML maybe Ill can be able to hide some labels before printing.
Thanks in advance
回答1:
Not that I know of, outside a custom rendering extension.
You can certainly use parameters to conditionally suppress various elements, and then provide a custom export/print control to set this parameter in the background. That precludes the use of the Report Manager, but if you are already rolling your own report interface, it wouldn't be much more work.
来源:https://stackoverflow.com/questions/974549/sql-report-server-display-when-property