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

Sending parameters from silverlight to report

3 Answers 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ankit
Top achievements
Rank 1
ankit asked on 02 Jun 2011, 06:12 PM
How can i send parameters from silverlight application to reports..

3 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 03 Jun 2011, 09:00 AM
Hi ankit,

The following KB article covers this information: Programmatic Initialization of Report Parameter Values in Telerik Reporting Silverlight Viewer.

Best wishes,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
ankit
Top achievements
Rank 1
answered on 03 Jun 2011, 08:28 PM
So, IF i want to pass 2 different parameters then it will be done like

args.ParameterValues["StartDate"] = m_StartDate;
args.ParameterValues["EndDate"] = m_EndDate;
(m_StartDate and m_EndDate are variables)

And if i want to pass 2 values in one parameter then it will be

args.ParameterValues["ProductSubcategory"] = new object[] { "Brakes", "Chains" };
0
Steve
Telerik team
answered on 06 Jun 2011, 07:50 AM
Hello ankit,

That is correct.

All the best,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
ankit
Top achievements
Rank 1
Answers by
Steve
Telerik team
ankit
Top achievements
Rank 1
Share this question
or