Conditional Page Breaks
Environment
Product | Progress® Telerik® Reporting |
Rendering Extension |
Description
A common report layout includes report groups. Often to visually distinguish these groups, a page break is added to the last group footer section. However, when you have another report section after the group section with PageBreak=After
, the design behavior is to push the content to a new page.
This is desired for the different group instances but sometimes, you may want to render a report footer section immediately after the last group footer. In this case, the most straightforward solution is to apply a Binding to the first group header section:
Solution
Property path | Expression |
---|---|
PageBreak | = IIF(RowNumber() > 1, 'Before', 'None') |
PageBreak enum values are as follows:
None
Before
After
BeforeAndAfter