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
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.
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.