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

Export PDF and Save to Server

3 Answers 133 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 2
Joe asked on 07 Apr 2008, 04:43 PM
Hi,
I was wondering if when using RadGrid Prometheus to export a PDF, if there is a way to also write that file to the server? If not, is this something Telerik Reporting can do?

I really just need to create a simple PDF (one record) and write it to disk, so I was hoping to avoid new software costs and learning curve...

Thanks,
Joe 

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 08 Apr 2008, 08:13 AM
Hello Joe,

This is currently not available in RadGrid control, but achievable with Telerik Reporting. Can you share what is the purpose of this file on your server, where you already have the data?

Kind regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Joe
Top achievements
Rank 2
answered on 08 Apr 2008, 01:34 PM
Thanks for your reply,

What I need to do is create a one page "certificate" which has a graphic, user name, ID number, and very basic formatting. I need this certificate to be saved on the server for archiving purposes.

I was hoping to create the certificate in HTML, display it in RadGrid as a single record then create and save the PDF programmatically. No way to hack that, huh?

Can Telerik Reporting do the following?
  1. Convert a dynamic webpage to PDF. For example, the webpage would be my certificate and would dynamically populate username, id, etc...
  2. Maintain appearance and styling of that webpage.
  3. Save the PDF to disk on the server.

If Reporting can do this I'll probably pick up a license.
Thanks,
Joe

0
Chavdar
Telerik team
answered on 08 Apr 2008, 05:05 PM
Hi Joe,

You can definitely use Telerik Reporting to generate a PDF document on the server and save it as a file but you cannot convert a web page to a report. First you should separately create and design the report layout by using the Visual Studio report designer. Then you have to populate the items with data and process it.

A sample code snippet which shows how to save a report into .pdf format you can find here: Saving a report into PDF format programmatically.

For creating, styling and populating the report with data you can refer to the Reporting Documentation.

I hope this information helps. Let us know if you have any other questions.

All the best,
Chavdar
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Joe
Top achievements
Rank 2
Answers by
Steve
Telerik team
Joe
Top achievements
Rank 2
Chavdar
Telerik team
Share this question
or