SQL Report Server Display When Property

徘徊边缘 提交于 2019-12-12 09:28:09

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!