Export PDF and Save to Server

4 posts, 0 answers
  1. Joe Hakooz
    Joe Hakooz avatar
    65 posts
    Member since:
    Dec 2007

    Posted 07 Apr 2008 Link to this post

    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 
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 08 Apr 2008 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Joe Hakooz
    Joe Hakooz avatar
    65 posts
    Member since:
    Dec 2007

    Posted 08 Apr 2008 Link to this post

    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

  5. Chavdar
    Admin
    Chavdar avatar
    898 posts

    Posted 08 Apr 2008 Link to this post

    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
Back to Top