Page 1 of 1

How to parameter to report while using WCF/Silverligt

Posted: Mon Jan 20, 2014 10:49 am
by AbdulAleem
Hi ,

I am able to show report by using WCF/Silverlight,
How can I pass parameter to report while using WCF/Silverlight.
My report contains embedded query ,I want to pass parameter to run the query inside the report.

Thanks,
Abdul Aleem.

Re: How to parameter to report while using WCF/Silverligt

Posted: Mon Jan 20, 2014 1:00 pm
by Alex K.
Hello,

Please try to use the Parameters for datasource. Also you can use the variables in your query.

Thank you.

Re: How to parameter to report while using WCF/Silverligt

Posted: Wed Jan 22, 2014 8:33 am
by AbdulAleem
Hi,

Please provide C# code to pass parameters or variables to report present at wcf service server folder, from Silverlight.

I want to write C# code in the silverlight to pass parameter to report,I am using WCF and Silverlight together.

Thanks,
Abdul Aleem.

Re: How to parameter to report while using WCF/Silverligt

Posted: Thu Jan 23, 2014 6:22 am
by Alex K.
Hello,

You can use the following code:

Code: Select all

report.Dictionary.Variables["VariableName"].Value = "Value";
for compiled report:

Code: Select all

report["VariableName"] = "Value";
You can find a samples for working with WCF/Silverligt in our installation pack in Sample folder. Also you can find more information in documentation.

Thank you.