Solved

Exporting a web form in PDF format

Posted on 2008-06-25
5
462 Views
Last Modified: 2013-12-16
Is there a way to export in PDF format a web form?  The idea is to have the web form exported into PDF and have it attached to a mail message and sent to a receipient automatically.
0
Comment
Question by:CLoucas
  • 3
  • 2
5 Comments
 
LVL 29

Expert Comment

by:David H.H.Lee
ID: 21865681
Dear CLoucas,

Probably you can try this free PDF software generator for asp.net, download iTextSharp framework for the development:
http://itextsharp.sourceforge.net/
http://www.brothersoft.com/downloads/itextsharp-tutorial.html

Tutorial how to use it:
http://www.mazsoft.com/blog/post/2008/04/Code-sample-for-using-iTextSharp-PDF-library.aspx
http://itextsharp.sourceforge.net/tutorial/ch01.html
http://channel9.msdn.com/forums/TechOff/117199-ASPNET-and-iTextSharp-free-PDF-Generator-for-NET/
http://asp-net-whidbey.blogspot.com/2006/04/generating-pdf-files-with-itextsharp.html

You can use it for generate PDF on the fly and later you can attach it inside the email as attachment.
Hope that helps.
0
 

Author Comment

by:CLoucas
ID: 21865842
Will this allow to convert the whole web form into PDF?

0
 
LVL 29

Expert Comment

by:David H.H.Lee
ID: 21866233
Dear CLoucas,
I'm not sure which portion you want to extract into PDF format. However, if you want to scrap the whole web form content, you can use the code the output the entire layout and put into PDF format based on your preferred format via iTExtSharp control that recommended above.
0
 

Author Comment

by:CLoucas
ID: 21882018
What I had in mind was to use the report control in ASP.Net 2.0 toolbox.  I just need some guidance to use it.  I am looking for a way to create a single record report, export it to PDF and save it to disk automatically, before it will be attached to an email message and sent to a receipient.
0
 
LVL 29

Accepted Solution

by:
David H.H.Lee earned 500 total points
ID: 21882098
Dear CLoucas,
Yes, you can output your entire report format and put it in preferred PDF format before send as attachment to the appointed receipient.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now