This is a migrated thread and some comments may be shown as answers.

Trying to keep groups together

1 Answer 557 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Cezar
Top achievements
Rank 1
Cezar asked on 18 Jan 2011, 08:16 PM
In my previous post I put two issues under one title. So I corrected it to keep one isse per thread.
So here it is:
Issue #2: group headers. When the entire group is not going to fit the remainder of the current page, is it possible to force it to the next page? In other words - avoiding to put a page break into a group if it's possible?
There are four choices for PageBreak property of a group header: None, Before, After, BeforeAndAfter. What I am talking about is a fifth option "Before if the entire group doesn't fit on current page". Is it doable?

Thank you again,
Cezar

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 21 Jan 2011, 01:58 PM
Hi Cezar,

The properties you are looking for are:
  • Group.GroupKeepTogether. If you set it to All the report will try to keep the whole group on one page. You can achieve the desired layout if you combine that property with a GroupFooter.PageBreak set to After. 
  • GroupHeader.PrintOnEveryPage. If set to True will render the Group Header section on every page.
Greetings,
Peter
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
Tags
General Discussions
Asked by
Cezar
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or