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

TRDX and List<> Can I bind them to a ReportViewer

1 Answer 108 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 04 Jun 2013, 06:28 AM
Using Silverlight 5 with MVVM and I want to implement reports. If I create a report in the stand alone designer using a sql data source to do the layout can I then take the trdx file and bind it to a report viewer.

In the SL app I want to retrieve the data from the WCF when the asynch call is completed I wish to assign the TRDX file/stream to the  ReportSource and the List<> to the DataSource and put the result into an observable object (in the viewmodel) that the ReportViewer can be bound to.

Is this scenario possible and if so is there an example (I know you guys are big on examples I have more than 20)

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 06 Jun 2013, 05:25 PM
Hello Mark,

To use XML report definitions(trdx files) in Silverlight application you need to create custom report resolver as explained in the How to: Implement and use custom IReportResolver help article and the Extending Telerik Reporting Service with Custom IReportResolver blog post. In the custom resolve method you can add any custom logic for supplying data and passing report documents to a ReportViewer control.

I hope this helps.

Regards,
Stef
Telerik

Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

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