Article information
Article relates to
Telerik Reporting Q3 SP1 2009
Created by
Steve
Last modified
18 January, 2010
Last modified by
public
MainPage()
{
InitializeComponent();
this
.ReportViewer1.RenderBegin +=
new
RenderBeginEventHandler(ReportViewer1_RenderBegin);
}
void
ReportViewer1_RenderBegin(
object
sender, RenderBeginEventArgs args)
//single value parameter
args.ParameterValues[
"ProductCategory"
] =
"Components"
;
//multi value parameter
"ProductSubcategory"
[] {
"Brakes"
,
"Chains"
};
The values in the example are hardcoded for simplicity and in real project you can take the actual values from your Silverlight UI controls. Notice that passing multiple values is achieved through an object array. In all other cases the value is set directly with its actual type.
Resources Buy Try