Search code examples
asp.net-mvcc#-4.0pdf-generationserver-sidetelerik-reporting

How to Export HTML to PDF Using Telerik with ASP.NET MVC


I have an existing ASP.NET MVC application where emails are sent to users with HTML content (Multiple tables) in the body.

Now I have to export and download same data as a PDF file in the browser. Since I have the HTML content already generated, my plan is to convert this HTML to PDF by using Telerik (Since i have license) in my MVC controller.

If HTML to PDF conversion is not possible, please let me know how can i create a PDF with multiple tables using Telerik DLLs as I've never used Telerik controls.

Any help is highly appreciated.

Thanks in advance.


Solution

  • I fixed it by generating a PDF from scratch using telerik controls.