Solved

Exporting a web form in PDF format

Posted on 2008-06-25
5
461 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

757 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

19 Experts available now in Live!

Get 1:1 Help Now