Hi,
I'm trying to emebbed a report viewer in a Silverlight Web application.
I've got a reportviewer object in a window and the empty template of my
first report loads normally. The problem started with the data
population. I need to change some parameters and retrive the data by a
WCF service. My first thought was to change the reportViewer.DataContext
to pass an ObservableCollection or a list to the report with the data
from my service. But it didn't work.
My second thought is to change dinamically the
reportviewer.ReportServiceUri, so I've dessigned a litle REST WFC
service (asking for /GiveMeReport/Report1 retreives the Report1, using
/GiveMeReport/Report2 the second one,etc. and in the reportviewer change
the Uri using Urls like
ReportServiceUri=
http://localhost/Service.svc/GiveMeReport/Report1). I
don't know if this is possible but I just started mounting this WCF
service and spent 2hours looking for documentation to do this and I
didn't find anything. Do I have to send a Telerik.Reporting.Service.Report
or a stream? How to implement IReportService and IResourceService?
Can you please send me a link with documentation or a code sample?
I really appreciate your help. Thank you.