Skip to content

Latest commit

 

History

History
69 lines (44 loc) · 4.22 KB

convert-cs-reports-to-trdp-telerik-reporting.md

File metadata and controls

69 lines (44 loc) · 4.22 KB
title description type page_title slug tags res_type ticketid
Converting .cs Reports to .trdp Format in Telerik Reporting
Learn how to transition from .cs report files to the .trdp format in Telerik Reporting, enabling easier report management and distribution.
how-to
How to Convert CSharp Report Files to TRDP Format in Telerik Reporting
convert-cs-reports-to-trdp-telerik-reporting
reporting, convert, import, trdp, conversion
kb
1669949

Environment

Version Product Author
18.3.24.1112+ Telerik Reporting Desislava Yordanova

Description

This tutorial shows how to convert types inheriting the base class Telerik.Reporting.Report created with the Visual Studio Report Designer to .trdp format for various reasons, such as ease of use or distribution. This KB article also answers the following questions:

  • How can I manage .cs reports in the Standalone Report Designer?
  • Is it possible to convert code-based reports to the TRDP format?
  • What steps should I follow to transition from .cs report files to .trdp in Telerik Reporting?

Solution

Let's start with a Class library project that contains the reports:

Class Library with Reports

The project targets .NET Framework 4.6.2 or higher:

Target Framework

note For projects targeting .NET, use the Standalone Report Designer for .NET.

To convert a .cs report to a .trdp report, use the [Standalone Report Designer]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/standalone-report-designer/overview%}). This tool allows for importing .dll files produced from projects containing types inheriting Telerik.Reporting.Report, facilitating the conversion process.

Steps for Conversion

  1. Compile the Project: Ensure your project containing the .cs report files is compiled successfully, generating a .dll file that includes the Report types.

  2. Copy the produced dll (e.g. ProductCatalogLibrary.dll) and paste it next to the exe of the appropriate report designer considering the Target framework of the project:

    Same Folder

  3. Open Standalone Report Designer: Launch the Telerik [Standalone Report Designer]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/standalone-report-designer/overview%}).

  4. Add an Assembly Reference to the Standalone Report Designer: [Extending Report Designer to Recognize Custom Assemblies]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/standalone-report-designer/configuration/extending-report-designer%}).

    Assembly Reference

  5. Import the DLL: From the Report Designer, select to import reports, and navigate to the .dll file produced by your project from the first step above. The Standalone Report Designer will launch the [Import Report Wizard]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/tools/report-wizards/import-report-wizard%}) and will list all reports available in the .dll for import. Follow the wizard:

    Start Import Report Wizard

    Select Reports to Convert

    Output Settings

    Import Summary

  6. Save as TRDP: After successfully importing the .cs reports, save them in the .trdp format using the Standalone Report Designer's save functionality.

    Converted Report

See Also

  • [Standalone Report Designer Overview]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/standalone-report-designer/overview%})
  • [How to Import Reports Created with the VS Report Designer]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/standalone-report-designer/how-to-import-reports-created-with-the-vs-report-designer%})
  • [Extending Report Designer at a Glance]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/standalone-report-designer/configuration/extending-report-designer%})