Last Updated: 18 Jan 2019 13:57 by ADMIN
Created on: 15 Jan 2019 13:31
Category: UI for ASP.NET MVC
Type: Bug Report
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 " 22".

1 comment
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:

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:

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.