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
answered on 13 Jan 2010, 10:22 AM
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.
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.