Solved

Pdf form auto fill at runtime

Posted on 2010-11-15
3
574 Views
Last Modified: 2012-08-14
Hej Experts,

I am building a web application using asp.net and C# and i have some pdf forms that are listed and i want to build functionality so that user choses a form and clicks "fill" and form gets filled from customer data which is stored in db.

Can somone please show direction about how cud it be possible?

Please note that aim is not to generate a pdf from html but rather edit in existing pdf and make some kind of Field mapping to form fields!!

Thanks in advanced :).
0
Comment
Question by:hussainAbid
[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 Comments
 
LVL 3

Accepted Solution

by:
Epitel0920 earned 250 total points
ID: 34176456
Could http://kuujinbo.info/cs/itext_fill.aspx be what you are looking for.
0
 
LVL 10

Assisted Solution

by:GeoffSutton
GeoffSutton earned 250 total points
ID: 34247605
This will help you out:
http://www.codeproject.com/KB/aspnet/Creating_PDF_documents_in.aspx

You need to download a plugin from Sourceforce call iTextSharp.  Then in your PDF Files you need to place label controls which can be accessed and filled at runtime.  The control names are very picky and case sensitive, but it works very well once you get the naming straight.

Another option you may want to use is the built in Crystal reports, which will allow you to generate custom PDF's based on the data passed in.  That data can be pulled from an application dataset or from a custom query in the report.  This is the approach you want to use as it is a tried and true .net plugin that has been thoroughly tested.  iTextSharp is an "In Development" item that is completed but no guarantees it hasn't been changed since I used it last.

HTH,
Geoff
0
 

Author Closing Comment

by:hussainAbid
ID: 34247752
I did not get advice on how to unlock locked files (pdf) for example official form.

Answer I found out is to use the same pdf as background and use a third part PDF makers like Nitro PDF maker for example and place control in pdf and then use ItextSharp to auto complete. Thanks
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

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…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 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