This is a migrated thread and some comments may be shown as answers.

Passing the DataSource of the report from Silverlight to the ReportingService in Q2 2010

2 Answers 50 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 16 Nov 2010, 06:14 AM
Hi,

I came across few posts of past where it has been said that Passing the DataSource of the report from Silverlight to the ReportingService is not possible.
As its been talk of more than a year back, I am wondering if it is possible now? If yes then how ?

Thanks,
Jono

2 Answers, 1 is accepted

Sort by
0
Massimiliano Bassili
Top achievements
Rank 1
answered on 17 Nov 2010, 09:38 AM
AFAIK nothing has changed, the reports reside on the server and the only way to pass data to the report is this: http://www.telerik.com/support/kb/reporting/report-viewers/programmatic-initialization-of-report-parameter-values-in-telerik-reporting-silverlight-viewer.aspx.
If you want to play along, you can bind your report programmatically in NeedDataSource and based on the parameter values, change the data or even build your data source ..

Cheers
0
Jonathan
Top achievements
Rank 1
answered on 17 Nov 2010, 11:32 PM
Thanks for your reply!

Further on the same, even if I use below line to set parameter

args.ParameterValues["ProductSubcategory"] = new object[] { "Brakes", "Chains"}

I have to add a parameter on report with same name. But what 'ld be the type of that parameter as enum ReportParameterType

 

 

 

 

 

has very limited types available those too primitive types?

Thanks,
Jono

Tags
General Discussions
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Massimiliano Bassili
Top achievements
Rank 1
Jonathan
Top achievements
Rank 1
Share this question
or