Welcome Guest Search | Active Topics | Sign In | Register

HtmlToPdf - Links in table incorrect on multi-page tables with content before table Options
Walden
Posted: Thursday, March 28, 2024 1:01:32 PM
Rank: Member
Groups: Member

Joined: 3/18/2014
Posts: 15
If you have html to convert to PDF and there is content before the start of the table (a logo, or anything that starts the table lower on the first page than it will start on subsequent pages) links are left over from the first page on the subsequent page. I'll bet this is related to "Fixed links in repeated table header/footer not clickable issue" issue that was "fixed" in 23.3.5. This problem does not exist in 23.2.65 but does exist starting in 23.3.4 up to, and including current, 24.0.49.

I have a simple repro project, happy to send over, but essentially, create html table that has a header, header does not need links. Add enough rows to the table to span pages in the PDF, and have a link in each row. Put a logo (or anything with height) before the table in the html. Then PDF the html with HtmlToPdf.ConvertHtml() call. Look at the links at the top of the subsequent pages, they will be the links from the first page (not the visible text, the href in the link action). The right links are there too, but the links from the first page are overlying them.

This is easy to see if you make the first couple rows of the table have a long link text and the subsequent rows have short link text. Then you can hover over the "empty" space in the rows on subsequent pages and see the links. Obviously you need different link hrefs to tell it's not the right link.

This is likely related to "Fixed links in repeated table header/footer not clickable issue" and I'll bet you're assuming the link locations in the header won't change on subsequent pages, but they obviously do if there's content before the table on the first page.
eo_support
Posted: Thursday, March 28, 2024 1:04:43 PM
Rank: Administration
Groups: Administration

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

Yes. Please send the repro project over and we will look into it. See here for more info on sending repro project:

https://www.essentialobjects.com/forum/test_project.aspx

Thanks!
Walden
Posted: Thursday, March 28, 2024 6:53:31 PM
Rank: Member
Groups: Member

Joined: 3/18/2014
Posts: 15
Emailed to Support with subject "Supporting project for issue from forum re: Links on page 2+ of pdf table"
eo_support
Posted: Wednesday, April 17, 2024 9:08:55 AM
Rank: Administration
Groups: Administration

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

Please download build 2024.0.96 from our download page. This build should resolve this issue.

Thanks!


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.