In a , you can add page breaks in a RDL report, using the PageBreakAtStart and PageBreakAtEnd properties of the report control.
You can set a page break before or after the Container control. It is also possible to force a page break before or after the following data regions or their groups:
Use the following steps to set page breaks in the report from the control dialogs:
To add a page break before or after a report control
- On the , select the report control on which you want to add a page break and in the command section of the Properties Window, click Property dialog. This is a command to open the control's dialog. See Properties Window for more information on how to access commands.
- In the control's dialog that appears, on the General page, under Page Breaks, select the check box for Insert a page break before this control or Insert a page break after this control or both.
- Click the OK button to save the changes and to close the dialog.
- Go to the to view the result.
To add a page break before or after a group
- On the design surface, select the report control containing a group and in the command section of the Properties Window, click Property dialog. This is a command to open the control's dialog. See Properties Window for more information on how to access commands.
- In the control's dialog that appears, go to the Groups or Detail Grouping page whichever is available.
- On the Groups or Detail Grouping page, go the Layout tab and select the check box for Page break at start or Page break at end or both.
- Click the OK button to save the changes and to close the dialog.
- Go to the preview tab to view the result.
See Also