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

Use trdx File in VS2010 as part of WFA

1 Answer 19 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brent
Top achievements
Rank 1
Brent asked on 08 May 2014, 11:50 PM
I am new to Teleric and like the product but the documentation and samples need alot of work.

I have created a trdx file and have it using drillthrough. I want to use the Viewer on a form in my application  but do not see how or an example of doing this.

Can someone please point me to a solid example?

Cheers,
Brent McCaw

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 13 May 2014, 02:21 PM
Hello Brent,

In order to display reports in a Windows Forms Application you need to use the Telerik Reporting Windows Forms Report Viewer. First you need to add the report viewer to your application. This process is explained in detail in the How to: Add report viewer to a Windows Forms' Form help article.

The provided step-by-step guide uses TypeReportSource to identify and resolve the report to be displayed. In our case you are using a .trdx report file, which means that instead of TypeReportSource, you need to use a UriReportSource. For more information please refer to the Report Sources help article.

An example together with source code can be found in the example reports which come with the installation of Telerik Reporting on your machine. You can find the WinForms example in the C:\Program Files (x86)\Telerik\Reporting Q1 2014\Examples\CSharp\WinFormsDemo folder.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Brent
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or