We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to convert only part of html file to pdf.

Thread ID:





110152 Jul 22,2013 08:39 AM UTC Jul 30,2013 03:36 AM UTC ASP.NET Web Forms (Classic) 1
Tags: PDF
Mateusz Turek
Asked On July 22, 2013 08:39 AM UTC

I there a possibility to convert only part of html code to pdf?  The content i would like to convert is in asp:Panel or in div with specific 'Id', is there a posibility to convert only this content by passing the id to the function?

KarthikeyanC [Syncfusion]
Replied On July 30, 2013 03:36 AM UTC

Hi Mateusz,
Thank you for your interest in Syncfusion Products.

We don’t have the direct support to convert the part of the html file to Pdf.

However we have created the workaround for converting the part of the html file to pdf.

The sample is attached for your reference.

Html to PDF.zip

Please let us know if you have any concern.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon