This is a migrated thread and some comments may be shown as answers.

Transfer values to PDF document

1 Answer 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
MWM
Top achievements
Rank 1
MWM asked on 17 Feb 2008, 07:53 AM
I have an existing PDF and would like to populate some areas on the form using values from fields of an ASPX page form.

is this possible to do with Telerik (reporting) in some way?  If so, how?

I can create the fields on the PDF to be populated using Acrobat if necessary, but also have Telerik Reporting.  Not sure what all it can do (besides OUTput to PDF).

Thanks for any assistance.

Mark

1 Answer, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 18 Feb 2008, 04:37 PM
Hello Mark,

Till now Telerik reporting can not read PDF files (i.e. use PDF files as report definition) but you can prepare a report to look like your PDF document and later export it to a PDF file. I have attached a sample solution with both windows and web forms exported to a pdf document.

Please check the sample to see how we are using a DataTable (Report1DataSource class from Reports::Report1DataSource.cs file) to transfer the form's data to the report.
For the Web form please, review the code inside the button's event handler (methods generatePdfDoc_Click and ExportToPDF inside WebSite1::Default.aspx.cs file) where the report is exported into PDF document.

More about programmatic export to PDF you can find in this article as well as in the reporting documentation.

All the best,
Ivan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
MWM
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Share this question
or