RDLC报告最后显示一个额外的空白页面 [英] RDLC Report showing one extra blank page at end

查看:361
本文介绍了RDLC报告最后显示一个额外的空白页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI全部,



我的问题是我正在使用Visual Studio 2010中的RDLC报告。



一切正常,除非报告在报告查看器的报告结尾处显示空白的额外页面。



任何人都可以指导为什么???以及如何克服这个?







问候,。

HI All,

My problem is that I am working on RDLC report in Visual Studio 2010.

Everything is working fine except report is showing a blank extra page at the end of report in report viewer..

Can anybody guide why??? and how to overcome this??



Regards,.

推荐答案

通过放置报告的属性来解决我自己
Solved Myself by putting Report's Property
ConsumeContainerWhiteSpace = true

...





:)

...


:)


解决方案1:

生成报告属性ConsumeContainerWhiteSpace = True。



解决方案2:

确保报告正文必须小于报告大小。



计算很简单就好了,



Solution 1:
Make Report Property ConsumeContainerWhiteSpace=True.

Solution 2:
Make Sure Your Report Body Must be Small than The report size.

The Calculation is simple just like,

Report Body Size<=Page Size+margin Size.





示例:您的报告正文尺寸8.25英寸

您的页面大小是8.27英寸(对于肖像)

所以等式是8.25 <8.27,其中所有边距都是0.



Example: Your Report Body size 8.25 INch.
Your Page Size is 8.27 Inch.(for portrait)
so the equation is 8.25<8.27 where all the margins Are 0.


这意味着报告正文的宽度比正常大。

如果是肖像,则宽度不应高于6.5英寸
It means the width of the body of the report is larger than normal.
If it is portrait, then the width should not be above 6.5in


这篇关于RDLC报告最后显示一个额外的空白页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆