Solved

Exporting a web form in PDF format

Posted on 2008-06-25
5
466 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

749 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