Create PDF automatically

9 posts, 0 answers
  1. Tomaž Lovrec
    Tomaž Lovrec avatar
    14 posts
    Member since:
    Aug 2009

    Posted 05 Mar 2010 Link to this post

    Hi,

    is it possible to create a PDF file from telerik reporting automatically, not export it. I want to create the PDF file with it and save it to the servers disk space, for later usage.

    Thanks and best regards,
    Thomas
  2. Peter
    Admin
    Peter avatar
    1652 posts

    Posted 10 Mar 2010 Link to this post

    Hello Tomaž Lovrec,

    Please review the following help article for more information: Exporting a Report Programmatically.

    Greetings,
    Peter
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Aidi
    Aidi avatar
    1 posts
    Member since:
    Sep 2010

    Posted 29 Sep 2010 Link to this post

    Hi Peter,
    I have the same problem of Tomaž but I'm trying to develop a SL3 application (Telerik Q2 2010).
    I'd like to know if is it possible to create a PDF file from telerik reporting automatically and save it to the server disk space, not export it.

    Thanks
    Aidi

  4. ambra
    ambra avatar
    1 posts
    Member since:
    Jun 2010

    Posted 21 Oct 2010 Link to this post

    Hi Peter,

    what about the previous post? Is it possible?
    I didn't find anything about saving report on the server disk space in silverlight applications.

    Thanks
    Ambra

  5. Peter
    Admin
    Peter avatar
    1652 posts

    Posted 26 Oct 2010 Link to this post

    Hello Ambra,

    It's possible to save the report on the server. You will need a WCF service with a SaveReport() method and within the button click event you have to call the service's SaverReport() method that will save the report on the server. Check out the attached sample solution.

    All the best,
    Peter
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Sameer
    Sameer avatar
    9 posts
    Member since:
    Jul 2019

    Posted 30 Jul in reply to Peter Link to this post

    link doesn't work
  7. Neli
    Admin
    Neli avatar
    117 posts

    Posted 02 Aug Link to this post

    Hello Sameer,

    Do you mean the link for Exporting a Report Programmatically article? There and in Exporting a report to PDF programmatically KB article, you can find approaches for exporting a report without displaying it in the viewer.

    Regards,
    Neli
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  8. Sameer
    Sameer avatar
    9 posts
    Member since:
    Jul 2019

    Posted 05 Aug in reply to Neli Link to this post

    yes this link is helpful( Exporting a report to PDF programmatically), But i want to use in c# .net Core 2.0.

    Also i want to pass input parameters to report using report will get data from DB.

  9. Neli
    Admin
    Neli avatar
    117 posts

    Posted 08 Aug Link to this post

    Hi Sameer,

    You can use the suggested approach from Embedded Report Engine article. There is no difference using this the report processor in a .NET Core application or in application targetting the full .NET framework. However, in case of .NET Core applications, we recommend creating reports with the Standalone Report Designer and instead of typeReportSource, you need to use UriReportSource when the report definition is declarative, i.e. trdp or trdx file. The report source setting with parameters has to look like:
    var uriReportSource = new Telerik.Reporting.UriReportSource();
      
    // Specifying an URL or a file path
    uriReportSource.Uri = "SampleReport.trdx";
      
    // Adding the initial parameter values
    uriReportSource.Parameters.Add(new Telerik.Reporting.Parameter("OrderNumber", "SO43659"));


    Regards,
    Neli
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top