|
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
|
|
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
|
|
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!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Great. Glad to hear that it works for you.
|
|