ReportViewer page break on wrong page and generate unnecessary pages

﹥>﹥吖頭↗ 提交于 2019-12-11 22:52:32

问题


I am learning to create report viewer application. I have about 14 rows. For each 7 rows I am putting page break. But When I click on "Print Layout" to see the print preview , the first page has first 7 rows then next 3-4 page just blank and then again last 7 rows. In total it is always generating 6 pages.

To page break on specific rows I have tried:

  • How to page break after specific row(Suppose 25 rows) in rdlc reporting
  • http://social.msdn.microsoft.com/Forums/sqlserver/en-US/253b76b8-d577-432b-b352-11a3c91fb8c6/limit-matrix-row-number-per-page?forum=sqlreportingservices (Reply of Tom Willwerth) .

Why it is happening and how I can fix it please?


回答1:


Check that your report is not too wide. If it is, the excess is put on the next page or pages.



来源:https://stackoverflow.com/questions/23227892/reportviewer-page-break-on-wrong-page-and-generate-unnecessary-pages

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