How to break a page after a specific line (suppose 25 lines) in rdlc reports

How to break a page after certain lines (e.g. 15 lines) in rdlc reports.

+8
rdlc dynamic-rdlc-generation
source share
3 answers

It is so simple. Suppose my reports look like

enter image description here

Enable Preview Mode

enter image description here

Add a page break group

enter image description here

Determine the number of lines you want in the group expression (in this case I want 15 lines)

enter image description here

Delete group column if you don't need

enter image description hereenter image description here

Remove expression from group details

enter image description hereenter image description here

Select "Group Properties" and set the page break attribute breakLocation as "End", "Disable as false" and "RestPageNumber" as "fasle".

enter image description here

Select Group Properties and set Disable = true

enter image description here

Now here is a report with a page break after a certain line

enter image description here <T411>

If you want to keep the table title on each page than click here

+21
source share

You can add the Row Group to your Tablix. Then, in the properties of the row group, select the "Page break" section and set "Between each instance of the group."

+1
source share

What I did was create another property on your object called lineBreak or something like that. when loading objects, make sure that every 25 has the same number and increment by 1. then a group is placed in the table above the parts, grouped in lineBreak. then add an extra line inside this group, then every 25th line should be an empty line.

-one
source share

All Articles