Single page display in HTML rendering : SSRS

冷暖自知 提交于 2019-12-06 19:01:08

问题


I have a SSRS report. I am using grouping and my report is having n number of pages. Is it possible to have the html display of the report in a single page with out page break and the exported version( pdf, excel) have the page break). Any idea. Please share some thoughts.

Thanks in advance Anna


回答1:


Short answer: Set the InteractiveHeight = 0

According to Microsoft:

Soft page breaks are calculated at run time by the control. Although it is not recommended, you can disable soft page breaks by setting InteractiveHeight to 0.

InteractiveHeight and InteractiveWidth are used by the HTML rendering extension to provide the equivalent of PageHeight and PageWidth. Because the HTML output format dynamically resizes a report to accommodate drilldown, drillthrough, and show/hide features, the report server uses different properties to support pagination on dynamic pages.

EDIT Comment Answer:
In the Layout mode, bring up Properties panel. At the top of the Properties panel is a drop down to select which control's properties you are looking at, select Report You will then find “Interactive Size” that includes Interactive Height property.




回答2:


What version of SSRS? 2008 lets you specify a different page size for interactive and regular paper (ie the html version will render different than say PDF).



来源:https://stackoverflow.com/questions/511666/single-page-display-in-html-rendering-ssrs

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