8 Answers, 1 is accepted
Thank you for your interest in our tool
Please check the latest Telerik Reporting internal build that fixes the HTTPS shortcoming and brings some improvements in the Silverlight viewer's model. Although you can now access the parameters on the client side (ref. ReportViewerModel.Parameters property) there is no easy way to understand (from outside of the ReportViewerModel) when the parameter definitions are retrieved from the server (that is when the asynchronous service operations are completed) or when their values will be send back to the server. This is what we are currently working on.
Anyway we would appreciate if you can share with us your particular scenario and explain in more detail your goals and how would you like to pass values for the report parameters besides using the built-in UI. Your feedback will help us with this feature quite a bit.
the Telerik team
Could you,please, provide an example,that shows how exactly to pass parameters to the report from Silvrlight application.
I need help for send parameter in the silverlight Reportviewer, I can show the report with parameters but I need send parameters values by programing.
I see thah exist a <telerik:ReportParametersControl but how is function? somebody can showme an example? or somebody knows another way to do.
Thanks for listening.
I have the same scenario, i need to pass parameters to the reportviewer but like it says it is not possible by the moment. Now its that possible if i use the htmlplaceholder and the WEB ReportViewer?, i mean, To pass some parameters from a silverlight application to the htmlplcaholder so the Web ReportViewer can use them to make the report.
In my scenario i'm hosting the SL reportviewer in a RadWindow. In the window i have a flag named m_bOverwriteReportParameters that is used to know whether the parameters need to be changed or not. Then in the constructor of RadWinow I add the following handler:
The real change happens in the ReportViewerModelPropertyChanged handler :
Making the above will allow the reportviewer to work correctly with the overriden parameters in the code. There is somehow a minor glitch that the reportviewer first renders the report with the default parameters values, show the generated report, and then goes "Rendering Report" again, and shows the report again but this time with the real parameters. But this is better than nothing, right :)
Hope this was helpful.
Please check the Programmatic Initialization of Report Parameter Values in Telerik Reporting Silverlight Viewer blog we have just published that describes the latest changes of the Silverlight ReportViewer's API and provides some guidelines how to pass parameters from client application.Kind regards,
the Telerik team