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

Page break inside detail section

3 Answers 260 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Calin
Top achievements
Rank 1
Calin asked on 23 Nov 2017, 04:35 PM

Hi,

 

I have this scenario. I have a report with a header, a detail section and a footer. Inside of detail section I added a crosstab and a picture box. I want that the Crosstab and the picture box to start on new page (the crostab should start on a new page and then when the picture is drawn, the pciture should start on a new page). The problem is that I saw that the page break option can be used only on detail section. How can I accomplish this ?

I have also tried to add to report a header, 2 detail sections and footer but the report does not accept 2 setail sections.

Thanks

 

3 Answers, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 24 Nov 2017, 01:18 PM
Hello Calin,

Page break can be forced using report sections only. With this in mind, you can place PictureBox item into a separate section which is rendered after the Detail section (Group Footer) and set PageBreak properties for both sections.

To render the Group Footer section for each detail record (after each Detail section) set a grouping criteria for the report group to the detail data field.

I hope this information will help.


Regards,
Katia
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Calin
Top achievements
Rank 1
answered on 25 Nov 2017, 11:58 AM

Hello Katia,

If I add the PictureBox to Group footer section doesn't mean that the picture box it will be rendered on every page ? Can you provide a code sample of what you explained to me ? 

Thanks,

Cosmin

0
Katia
Telerik team
answered on 29 Nov 2017, 04:25 PM
Hi Cosmin,

You can review the attached report that demonstrate the example settings. PictureBox item will be repeated after each detail section and will start on a new page as PageBreak property of the section is set to After.

Regards,
Katia
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Calin
Top achievements
Rank 1
Answers by
Katia
Telerik team
Calin
Top achievements
Rank 1
Share this question
or