Welcome Guest Search | Active Topics | Sign In | Register

Converting ASPX form to Pdf and sending as an email attachment Options
jijish
Posted: Thursday, December 19, 2013 1:04:14 PM
Rank: Newbie
Groups: Member

Joined: 12/19/2013
Posts: 1
Hi,
I have an aspx form with all the controls like checkbox, radiobutton, textboxes. What I want is that when I click on submit button the aspx form should be converted to pdf file and at the same time that pdf file should be emailed as an attachment. Is it possible with your product. And if it is possible do I need to purchase it and what is the cost.
eo_support
Posted: Thursday, December 19, 2013 1:16:30 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

Yes. You can do that. You can use ASPXToPDF to do the conversion:

http://www.essentialobjects.com/doc/4/web/aspxtopdf.aspx

In your case, you would particularly want to look into the "Save conversion result to a file". That section explains to you how to save the conversion result. Once you have the result in a file, you can do whatever you want to do with that file, either move it somewhere else, or email it as an attachment. If you do not want to use a physical file, you can save the result PdfDocument into a MemoryStream (instead of a FileStream). You can then get a byte array from that MemoryStream and after that, you can do whatever you want to do with that byte array.

We have multiple license options. You can select "Purchase Online" from our purchase menu to view different prices for different options.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.