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

Create PDF automatically

8 Answers 863 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tomaž Lovrec
Top achievements
Rank 1
Tomaž Lovrec asked on 05 Mar 2010, 12:05 PM
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

8 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 10 Mar 2010, 03:17 PM
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.
0
Aidi
Top achievements
Rank 1
answered on 29 Sep 2010, 10:17 AM
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

0
ambra
Top achievements
Rank 1
answered on 21 Oct 2010, 01:33 PM

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

0
Peter
Telerik team
answered on 26 Oct 2010, 01:37 PM
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
0
Sameer
Top achievements
Rank 1
answered on 30 Jul 2019, 10:08 AM
link doesn't work
0
Neli
Telerik team
answered on 02 Aug 2019, 09:17 AM
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
0
Sameer
Top achievements
Rank 1
answered on 05 Aug 2019, 09:24 AM

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.

0
Neli
Telerik team
answered on 08 Aug 2019, 08:15 AM
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
Tags
General Discussions
Asked by
Tomaž Lovrec
Top achievements
Rank 1
Answers by
Peter
Telerik team
Aidi
Top achievements
Rank 1
ambra
Top achievements
Rank 1
Sameer
Top achievements
Rank 1
Neli
Telerik team
Share this question
or