RDLC pagebreak at start SSRS 2005

WPF2Web 21 Reputation points
2022-02-24T14:12:31.853+00:00

Hi, I am new to SSRS reporting. I have created a rdlc report in SSRS 2005. After exporting to PDF using Winforms i found two reports in the same page.
The two reports are in two rectangles. How to insert a page break for second rectangle in SSRS 2005 ?
Update: I have put the <PageBreakAtStart> after <ReportItems>. Now reports are in separate pages. But there is blank page for each of the sub report now. How to resolve this ?

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
3,065 questions
{count} votes

Accepted answer
  1. Michael Taylor 60,331 Reputation points
    2022-02-24T15:39:37.783+00:00

    Without seeing what your report looks like in the designer it is hard to say what is going on really. But given your description it sounds like you have 2 rectangles, each with a subreport. You put a page break on the second subreport. But most likely you put it too far down and so it generates the page break more often than needed. Since you have 2 rectangles and you have a report in each put the page break before the second rectangle. To do that go to the properties for the rectangle and set the page break option. A break will then occur before the rectangle. Refer to the documentation here.

    Note that if your report goes across multiple pages then this can cause problems. In this case it is generally better to put a page break between the groups if possible. Refer to paginating groups here.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Isabellaz-1451 3,616 Reputation points
    2022-02-25T02:07:15.767+00:00

    Hi @WPF2Web

    You can add a page break after the first rectangle,or add a page break before the second rectangle

    Detailed steps about adding a page break after:
    1.select the first rectangle,and right-clicked

    177644-image.png

    2.select the 'Rectangle Properties',then ‘general’,then check the ‘add page break after’ option

    Best Regards,
    Isabella


    If the answer is the right solution, please click "Accept Answer" and upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.