Welcome Guest Search | Active Topics | Sign In | Register

Blank Page is created in between in PDF Options
Rashi
Posted: Tuesday, May 2, 2017 2:18:05 AM
Rank: Newbie
Groups: Member

Joined: 5/2/2017
Posts: 3
Hi,
I am using EOPDf to convert my html url to pdf. I am using repeater with a table inside it. On each row i have page-break : avoid, to avoid breaking the rows in two pages. It was all fine before. But now i saw in one of the pdfs there is an extra blank page created with only column headers and no data. It is one full page having only that table and no other controls, so fitting should not be an issue as it is creating the same data in next full page.
What could be possible reason. Let me know if you need to see HTML.

Thanks
eo_support
Posted: Tuesday, May 2, 2017 11:13:20 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

This occurs when you have large page-break-inside:avoid blocks that won't fit in the current page. In this case the converter will push the entire block into the next page in the hope that it will fit better on the next page since the next page has more available space than the current page.

Sometimes you can create large page-break-inside:avoid block unintentionally. For example, if you have two smaller page-break-inside:avoid block overlapping each other, then they will be combined into a single page-break-inside:avoid block that covers from the beginning of the first block to the end of the second block. You can try to analyze/adjust the page-break-inside:avoid style settings to see if this is the case for you.

Thanks
Rashi
Posted: Wednesday, May 3, 2017 3:05:44 AM
Rank: Newbie
Groups: Member

Joined: 5/2/2017
Posts: 3
Thanks ! i resolved it by removing page-break-inside from a row. It was because of the large data in that row. Worked fine!
eo_support
Posted: Wednesday, May 3, 2017 9:03:00 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Great. Glad to hear that it works for you.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.