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.
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 04:39 AM Jul 29,2013 11:36 PM ASP.NET Web Forms (Classic) 1
Tags: PDF
Mateusz Turek
Asked On July 22, 2013 04:39 AM

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 29, 2013 11:36 PM

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.

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