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.

Product for html to excel asp.net

Thread ID:

Created:

Updated:

Platform:

Replies:

69511 Oct 31,2007 12:45 AM Oct 31,2007 09:14 AM ASP.NET Web Forms (Classic) 1
loading
Tags: XlsIO
sameer khan
Asked On October 31, 2007 12:45 AM

Hi,
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.

Thanks
sameer khan

Rajarajeswari S [Syncfusion]
Replied On October 31, 2007 09:14 AM



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.

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

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

[Aspx]

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.

Regards,
S.Rajarajeswari


CONFIRMATION

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.

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.

;