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

grammatically converting .trdx to pdf in C#

3 Answers 265 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Asa
Top achievements
Rank 1
Asa asked on 22 Jul 2014, 06:35 AM
Hi,

I've a report designed in standalone report designer (with a object data source) as per my requirement, I need to generate the .pdf for this particular report inside a C# web-service call. How can I convert the .trdx that I designed to a .pdf grammatically? is it possible at least?

3 Answers, 1 is accepted

Sort by
0
KS
Top achievements
Rank 1
answered on 24 Jul 2014, 11:48 AM
Hi,

Export it programmatically and use UriReportSource to get the TRDX. You'll need also the data model assembly - deploying TRDX files.

-KS
0
Guillermo
Top achievements
Rank 1
answered on 18 Feb 2016, 06:58 PM

Hi Asa,

Need to do the same, cause I need to show reports on a  mobile.. and I'm a beginner, Did it work this way..? or How Did you resolve this?... If you can help I will be really thankful.

Regards,

Guillermo.

0
Stef
Telerik team
answered on 22 Feb 2016, 04:47 PM
Hi Guillermo,

Details how to start creating reports are available in this forum post.

Once reports are designed, you can export them programmatically by using a ReportProcessor instance and its RenderReport method - Exporting Report Programmatically.
The RenderReport method expects a report source object that wraps a report. The report source should be considered with the format of the report  - Available Report Sources.  In case you are working with TRDX files, please check additionally How to: Deploy a report created with Standalone Report Designer.


Let us know if you have any further questions.

Regards,
Stef
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
Asa
Top achievements
Rank 1
Answers by
KS
Top achievements
Rank 1
Guillermo
Top achievements
Rank 1
Stef
Telerik team
Share this question
or