Home Unanswered Active Tags New Question

How to introduce page breaks to the calendar control?

Hi All,

I am using the Daypilot.dll Version 5.7.1903.0 and have the issue that I pass the print view page of an Daypilot Calendar control (no scrollbars) to a HTML to PDF conversion in order to generate PDF output. This works fine with the limitation that page break is introduced at some arbitrary position, e.g. for a calendar displaying the time frame from 8:00 to 20:00, the page break is somewhere around 15:23, to be continued on the subsequent PDF page at 15:24 to 20:00.

Is it possible to predefine page breaks (e.g. as an HTML element: "page-break-before: always") and pass them somhow to the Daypilot control at runtime, so that times displayed are 8:00 to 14:59:59:999 on the one PDF page and then the remaining 15:00 to 20:00 on the following which looks much tidier?

Your help is much appreciated!

Thanks and regards,

Michael

Asked by Anonymous 1 year ago.
Replies
No reply yet.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java