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

Passing the DataSource of the report from Silverlight to the ReportingService

3 Answers 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mihai
Top achievements
Rank 1
Mihai asked on 08 Jan 2010, 12:25 PM
Hello,

I want to generate reports from a Silverlight application. As I saw from the demo, I need to have a ReportViewer in a user control, set the Report Service URI, and set the name of the report. How can I pass the data context of the report from Silverlight to the reporting service?

3 Answers, 1 is accepted

Sort by
0
Svetoslav
Telerik team
answered on 13 Jan 2010, 10:22 AM
Hello Mihai,

Please review the Silverlight Report Viewer help topics to introduce yourself to the Telerik's report viewer for Silverlight.

As far as the Silverlight Report Viewer is concerned (as of now) is that the reports reside and are processed entirely on the server side; there is no report object on the client side. In order to bind a report to data please follow the instructions as described in Connecting Data to a Report. As far as the report data binding and processing is performed entirely server side (through the Telerik Reporting WCF Service) there is no way to pass any data context from Silverlight back to the server.

Best wishes,
Svetoslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Joshua
Top achievements
Rank 1
answered on 08 Apr 2013, 07:00 PM
Hi,
   Can we pass an XML containing the data we want to show on report, like we do for a parameter ? What I mean is can a report class have a method which can accept XML provided from Silverlight UI and convert it into a DataTable and bind it to Report DataSource ? If Yes can you send us an Example please. 

Thanks,
Josh
0
Peter
Telerik team
answered on 11 Apr 2013, 03:37 PM
Hello Josh,

Our suggestion is to store the XML data on server and then use the ObjectDataSource to databind the data item to the XML data. You may find useful the Does Telerik Reporting support XML as a datasource? help article.

Regards,
Peter
the Telerik team

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

Tags
General Discussions
Asked by
Mihai
Top achievements
Rank 1
Answers by
Svetoslav
Telerik team
Joshua
Top achievements
Rank 1
Peter
Telerik team
Share this question
or