从RDLC中删除空格 [英] Remove Blank space from RDLC

查看:80
本文介绍了从RDLC中删除空格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个RDLC报告,它将结果显示在两列中。我希望在第一页中显示一个文本,并在页面末尾显示一个除了页眉和页脚之外的所有页面中重复的文本。



由于我将报告的主体设为2列,因此我无法添加任何对于列常见的控件。我将文本框放在标题区域中,使其仅在第一页中可见。它给出了输出,但在所有其余页面中,控件占用的空间显示为空白空间。



如何删除所有空白区域页面?

I have created a RDLC report which display the result in two columns. I want to have a text to be displayed in the first page and signatories at the end of the page apart from Header and footer which gets repeated in all the pages.

Since I made the Body of the report as 2 columns I am not able to add any control which will be common for the columns. I placed the text box in the header region and made that visible only in first page. It gives the output but in all the rest of the pages, space occupied by the control getting displayed as empty space.

How to to remove that empty space in all the pages?

推荐答案

我希望将它放在标题中。在标题区域中,不允许使用表/ Tablix。只允许使用文本框,矩形。我想让这个文本框只在第一页显示,而不是在页面的其余部分。我使用IIF做了它并使文本框隐藏但在其他页面中,隐藏文本框占用空白空间。



如何摆脱
I want this to be placed in header. In header region, table/tablix is not allowed. Only textbox, rectangle are allowed. I want to make this text box to be visible only in first page and not in rest of the page. I did it using IIF and made the textbox hidden but in other pages, hidden text box occupying empty space.

How to get rid of that


在Visibility.Hidden属性中,您必须指定对象是否必须隐藏。所以你可以使用:

In Visibility.Hidden property you have to specify if the object must be hide or not. So you can use:
=IIf(IsNothing(Fields!YourData.Value), True, False)



如果您正在使用Table / Tablix,则必须设置TABLEROW的Visibility属性。

您可以从rdlc报告属性中解决页眉和页脚问题。

请参阅此处 [ ^ ]


这篇关于从RDLC中删除空格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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