Advanced reporting
and data visualization components for .NET
LIVE CHAT Welcome, guest

 





Keep details together on same page
Display Posts for:
Invert
Marin Alic 10/02/2008 04:40
Keep details together on same page

Hello support team,
I am using R#S 1.9.1.
Is there a way of keeping all the details (of all data bands) on the same page?
I have a situation where there are multiple data bands (each having only one detail). The details are conditionally hidden if empty(via "Visible" property). The (already posted) solution where e.g.
detail1.MinSpaceAfter = detail2.RenderHeigth + detail3.RenderHeight
and
detail2.MinSpaceAfter = detail3.RenderHeight
somehow does not work for me although I have the set the mentioned values.
How can I achive to keep all details on the same page (page break only "block-wise")?

Thanks in advance.

Marin
Artyom Petukhov 10/03/2008 01:35
Keep details together on same page

Hello,

I'm sorry but I can't catch your idea. You speak about some ready solution in your post. As I understand this solution was published on our site. Please provide link to this problem with the solution. Or describe your problem in detail.

Best regards,
Perpetuum Software Support Team.
Marin Alic 10/07/2008 10:44
Keep details together on same page

Hello Artyom,
here's where the same problem had been discussed:
http://perpetuumsoft.com/ForumTopic.aspx?lang=en&topic_id=1307&forum_id=9

Unfortnately, my detail blocks break across two pages despite the applied settings (addition of detail.RenderHeight).

Thanks,

Marin
Dmitry Zhukov 10/22/2008 04:02
Keep details together on same page

Hello,

This variant is acceptable if all sections are visible. In your case, some of the sections are invisible that’s why you should take it into account in this script. You shouldn’t consider the height for the invisible sections.

For example,
detail2.MinSpaceAfter = iif(detail3.Visible, detail3.RenderHeight, 0)

Best regards,
Perpetuum Software Support Team