Op 11/03/2011 13:17, Taher Dhilawala schreef:

Hello All,

I have a blank PDF created on the server. I want to populate the fields in the PDF using iTextSharp. Also, there is a "Save" button in the PDF. I want to set the action on the Save Button such as when the user clicks on Save in PDF, the PDF posts itself to an ASPX page. I am able to fill the fields from Database. But I am unable to set the action on the Save button. This is what I am trying to do

I didn't try your code, but...
1. you're replacing one action with another one: shouldn't you "chain" these actions? 2. you can save a PDF using other save buttons too. Wouldn't it be better to use a Save event? Of course: there's a huge difference between a Save event (PDFs opened in Acrobat or "Reader enabled" PDF) and a Save As event (PDFs in Reader that aren't "Reader enabled"). And also: security restrictions may prevent sending the data to the server.

Have you tried achieving this using Acrobat? Does it work there?
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to