PDF and asp.net

  • Thread starter Thread starter Vlad
  • Start date Start date
V

Vlad

Hi all.

I have an aspx page that loads pdf template from server,
fills up all its fields from db and displays itself in IE
(using acrobat plug-in). I use Adobe dlls to create pdf on
the fly. Works fine. But now I'd like to submit this pdf
back to the server as a whole file after user adds some
info to pdf fields. Acrobat allows me to add Submit button
and specify the way it'll submit the data. If I
chose "HTML" it makes a POST and everything works fine.
But if I specify "the entire PDF file" then, I guess, I
have to work with Request.Files. Documentation says that I
have to use Request.ContentType = "multipart/form-data".
Fine. I added it to the form in html - no result.
Request.Files.Count shows 0. I have tried everything
documentation suggests - no result. Count is still 0. How
do I capture uploaded files without actually using
HtmlInputFile control?

Thanks for your help.
 
What would you want to do with the file once it's been saved?

WOuld it not be possible to post information from the PDF into a DB and then
create a PDF on the fly when you want to view the files. It saves hogging up
space on the server with loads of PDFs
 
Back
Top