search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to introduce page breaks to the calendar control?

Asked by Anonymous
10 years ago.

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

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.