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. Image for the cookie policy date
close icon

ASPX to HTML Conversion. TextBox/Dropdown in PDF

Hi,
are there any functionality Essential Report giving,
to Convert ASPX to PDF with the textbox,dropdown in the PDF?

1 Reply

AD Administrator Syncfusion Team October 18, 2007 05:35 PM UTC

Hi Mayank,

Thank you for your interest in Syncfusion products.

Please follow the steps below that has to be done under Asp.net environment for converting HTML webpage to PDF document .

1) Include the attribute AspCompat="true" in the @Page directive.

Here is the code snippet

[Aspx]
<%@ Page Language="C#" AutoEventWireup="true" AspCompat="true" %>

2) Reference the "AxSHDocVw.dll, SHDocVw.dll" assembly to the project. [This dll can be found along with the sample attachment]

3) Place these COM assemblies in the "BIN" directory of your project.

Please refer the below working sample that demonstrates on converting HTML web page to PDF document and let me know if this meets your requirement.

http://websamples.syncfusion.com/samples/PDF.Web/5.2.0.25/HTMLToPDFWeb/main.htm

Also please let me know if you have any other queries.

Regards,
Jaya

Loader.
Live Chat Icon For mobile
Up arrow icon