Planned
Last Updated: 05 Mar 2021 12:53 by ADMIN
Scheduled for R3 2021
Jon
Created on: 16 Jul 2015 13:20
Type: Feature Request
11
Add conditional page breaks based on report group page number (Duplex Printing)
When trying to duplex print a report that has odd page numbers, the next report's first page prints on the back of the previous report. We need the ability to conditionally insert a page break based on whether the report's (the group's) page count is odd or even. Since we don't have access to the global pagecount variable outside the footer, there is no way to use it to insert a page break into the body of the report. This seems like it would be such a common need with the desire by many to save paper that it would be an obvious feature to include in the product. Thanks.
6 comments
ADMIN
Neli
Posted on: 05 Mar 2021 12:53

Hello Jon,

I agree with you that the workaround will not be always efficient. For example, when we don't know what would be the amount of data and the number of generated pages.

I discussed the case with our PM and we agreed that the future can be implemented for R3 2021 which is planned for the middle of September.

Please, let us know if you have any questions.

Regards,
Neli
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Jon
Posted on: 26 Feb 2021 14:35

Thanks for your comments Neli.

Unfortunately, your solution is only effective if you have static sizes of data. If you have variable amounts of data, you are forced to essentially make a best guess of how many pages will result from the data you are feeding in and then appropriately add a conditional page break. With a task like this, that is unacceptable because if you are wrong on even a single instance/grouping of the report, you will end up with undesired merged reports (the first page of the next group on the last page of the previous group). Microsoft Reporting services (SSRS) has this same limitation. It sounds like you guys can't be bothered to change your rendering/pagination engine to allow for this functionality. Again, unfortunate that it's been all these years and your product is still not useful for this need. Maybe someday I'll be surprised and this thread will change to a "Planned" status.

Regards,

Jon

ADMIN
Neli
Posted on: 26 Feb 2021 12:24

Hello Jon and Melvin,

We consider this Feature Request as valid and I changed its status to Unplanned.

Basically, the total number of the report document pages depends on the export format among other factors. This number is available in the Page sections of the Report - check Report Structure and How to: Add/Remove Page Header and Footer Sections. You may use the Page function PageCount to get the count of the generated pages. Note that when the count of the total pages becomes known the processing and rendering of the report have finished, hence it is not possible to add more pages.

As a workaround, if you know the number of the generated pages a-priory (generally, it depends also on the data), you may use Conditional Formatting or Bindings to manipulate the visibility of a dummy item or section (e.g. Report/Group Footer) to force the Reporting engine to generate an extra page.

 

Regards,
Neli
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Jon
Posted on: 19 Feb 2021 14:20
For what it's worth, I never did hear back from Telerik on this issue. We ended up abandoning Telerik Reporting in favor of Crystal Reports for our more complex needs and Microsoft Reporting Services for our simpler canned reports. It's a shame to hear they still have not improved their product with this important functionality in all this time.
StillLearnin
Posted on: 19 Feb 2021 13:55
Any update on this? It's 2021 now and we're still having the same problem and this issue is still under review.
Ian
Posted on: 04 Aug 2016 00:22
I've implemented things like this in the past with MS Reporting Services.  It's very handy to expose as a parameter for the end-user to optionally insert blank pages to prepare for nice duplex printing.