Hi,
I am looking to integrade your reports for Silverlight into my application. I wend through all your examples and they have one thing in common, all reports are binded to datasource permanently and you can only send parameters from within ReportViewer component. Here what I need:
1. Before opening report on the client side, I need to send some parameters to the server. Based on these parameters, I will generate a set of data objects (i.e. IEnumerable or other collectable object) and bind it to the report, so that only this data is returned to the client side. How do I achiev this?
1.a. Alternatively, if I could return only the report template to the client and separately I could get a list of data objects from the service. Then bind it to the Report Viewer on the client side.
2. How do I protect my service from illigal use? Here is a simple example. If I want to call some method from the service, one of my parameters can be a password. When service receives a call, I evaluate that parameter, if it matches the password, I return the result. This prevents someone designing a silverlight program which connects to my service without know this password. How does it work with your reports? What stops someone creating a silverlight application with your ReportViewer, connect to my service and retrieve all data?
I am looking to integrade your reports for Silverlight into my application. I wend through all your examples and they have one thing in common, all reports are binded to datasource permanently and you can only send parameters from within ReportViewer component. Here what I need:
1. Before opening report on the client side, I need to send some parameters to the server. Based on these parameters, I will generate a set of data objects (i.e. IEnumerable or other collectable object) and bind it to the report, so that only this data is returned to the client side. How do I achiev this?
1.a. Alternatively, if I could return only the report template to the client and separately I could get a list of data objects from the service. Then bind it to the Report Viewer on the client side.
2. How do I protect my service from illigal use? Here is a simple example. If I want to call some method from the service, one of my parameters can be a password. When service receives a call, I evaluate that parameter, if it matches the password, I return the result. This prevents someone designing a silverlight program which connects to my service without know this password. How does it work with your reports? What stops someone creating a silverlight application with your ReportViewer, connect to my service and retrieve all data?