Rejected
Last Updated: 18 Jan 2019 13:57 by ADMIN
Alpesh
Created on: 15 Jan 2019 13:31
Category: UI for ASP.NET MVC
Type: Bug Report
0
drawDOM and links(hyperlink does not work when export as pdf using kendo.drawing.drawDOM )

I'm using drawing.drawDOM to create a PDF. I have to make a table of contents in the beginning of the PDF. I've got two issues:

- How do I link to another section of the PDF? <a href="#conclusion">Conclusion</a> and then later <a name="conclusion"></a> doesn't seem to work :-/

- How do I figure out on which page a specific part of the document is being rendered? In my TOC I would like to say "Conclusion....page 22".

(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
1 comment
ADMIN
Marin Bratanov
Posted on: 18 Jan 2019 13:57
Hi Alpesh,

The Kendo Drawing API does not have a Table of Contents feature and so it cannot create such a complex PDF. I can suggest taking a look at the following thread that is still the current answer: https://www.telerik.com/forums/export-to-pdf-with-table-of-contents.

On knowing what content goes on what page - you can define your own page break selectors so you can force a new page in your own code, so you can count them and put the desired content in the DOM before exporting: https://docs.telerik.com/kendo-ui/framework/drawing/drawing-dom#multi-page-pdf-output.


Regards,
Marin Bratanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.