grammatically converting .trdx to pdf in C#

4 posts, 0 answers
  1. Asa
    Asa avatar
    1 posts
    Member since:
    Jul 2014

    Posted 22 Jul 2014 Link to this post

    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?
  2. KS
    KS avatar
    165 posts
    Member since:
    Oct 2012

    Posted 24 Jul 2014 in reply to Asa Link to this post

    Hi,

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

    -KS
  3. DevCraft banner
  4. Guillermo
    Guillermo avatar
    3 posts
    Member since:
    Sep 2014

    Posted 18 Feb Link to this post

    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.

  5. Stef
    Admin
    Stef avatar
    3044 posts

    Posted 22 Feb Link to this post

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