Hello,
I use Silverlight reports. I would like to change property Visible of report parameters "on fly" from Silverlight Report Viewer. For example in the method RenderBegin. Because on design time I do not know what parameters of report have I to display and what to hide.
In the MainPage.xaml.cs I am having:
private void reportViewer1_RenderBegin(object sender, Telerik.ReportViewer.Silverlight.RenderBeginEventArgs args)
{
args.ParameterValues["StartDate"] = DateTime.Now.AddDays(x);
// I would like someting like that
args.ParameterValues["StartDate"].Visible = false;
}
How can I set property "Visible" of report parameters programmatically?
Thank you,
Andrew
I use Silverlight reports. I would like to change property Visible of report parameters "on fly" from Silverlight Report Viewer. For example in the method RenderBegin. Because on design time I do not know what parameters of report have I to display and what to hide.
In the MainPage.xaml.cs I am having:
private void reportViewer1_RenderBegin(object sender, Telerik.ReportViewer.Silverlight.RenderBeginEventArgs args)
{
args.ParameterValues["StartDate"] = DateTime.Now.AddDays(x);
// I would like someting like that
args.ParameterValues["StartDate"].Visible = false;
}
How can I set property "Visible" of report parameters programmatically?
Thank you,
Andrew