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

Product for html to excel asp.net

Thread ID:





69511 Oct 31,2007 04:45 AM UTC Oct 31,2007 01:14 PM UTC ASP.NET Web Forms (Classic) 1
Tags: XlsIO
sameer khan
Asked On October 31, 2007 04:45 AM UTC

Do u have a product which convert html to excel
which support all the version of MS-Office in Asp.net i also need a product which convert html to pdf.

sameer khan

Rajarajeswari S [Syncfusion]
Replied On October 31, 2007 01:14 PM UTC

Hi Sameer,

Query 1: Do u have a product which convert html to excel

Sorry. Currently we don't provide support for converting Html to an Excel.

Query 2: I also need a product which convert html to pdf.

You can convert HTML file into PDF document in Bitmap or Metafile format with minimal code.

The way HTML to PDF works in this option is that HTML is first converted to an Bitmap or Vector Image [Metafile] and then the image is parsed and rendered inside PDF. The HTMLConverter uses the MSHTML rendering library to render HTML documents. The MSHTML library is the engine that is used to drive the Internet Explorer.

Here is a sample for your reference.


When you click the button in the above sample link, it will show you the resulted PDF document of HTML page.

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


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

3) Place these COM assemblies in the "BIN" directory of your project. Since the Syncfusion library needs these assemblies for conversion purposes, it should be compulsorily be placed in the BIN directory.

Please let us know if you want any more details.



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

or the page will be automatically redirected to 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