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

 





keep multiple Details on one page - dont break
Display Posts for:
Invert
Franz Leu 04/24/2008 00:27
keep multiple Details on one page - dont break

I found the 'break' property for a single detail to not have it broke up between two pages.
How can I keep multiple details together on a page? Can I somehow group multiple details together and don't allow to break up into two pages?

Thanks
Franz
Anton Lykov 04/24/2008 23:35
keep multiple Details on one page - dont break

Hello,

If the CanBreak property is not set to true, Detail is not broken to pages and it is on one page. Please provide more detailed information on what control you use and why you need this.

Best regards,
Perpetuum Software Support Team.
Franz Leu 04/24/2008 23:55
keep multiple Details on one page - dont break

There are 3 details for each record (DataBand). Each of it has the VISIBLE property active only when there is data to show. So if there is no data it will not use any space and there is no white space/line. For each of these detail I can disable the break option and it will not break within the detail.
The problem is that the group of these 3 details gets split on two pages sometimes. I want to keep these 3 details together for the actual data record.

not OK:
- Article No. (detail 1)
- Article Text1 (detail 2)
(page change to next page)
- Article notes (detail 3)

OK:
(page change to next page)
...
- Article No. (detail 1)
- Article Text1 (detail 2)
- Article notes (detail 3)
...
(page change to next page)
Anton Lykov 04/27/2008 23:38
keep multiple Details on one page - dont break

Hello,

You can set the MinSpaceAfter property equal to (detail2.RenderHeight + detail3.RenderHeight) in the first detail1, and set the MinSpaceAfter property equal to detail3.RenderHeight in the detail2.
In this case all the three details will be displayed on one page.

Best regards,
Perpetuum Software Support Team.
Franz Leu 04/28/2008 00:02
keep multiple Details on one page - dont break

Thank you.