Display/Hide parameters from Silverlight Viewer

3 posts, 0 answers
  1. Andy
    Andy avatar
    10 posts
    Member since:
    Nov 2006

    Posted 09 Apr 2013 Link to this post


    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,
  2. Squall
    Squall avatar
    174 posts
    Member since:
    Feb 2011

    Posted 11 Apr 2013 Link to this post

    You have to make your own custom parameters area or modify the report definition in custom ReportResolver.
  3. DevCraft R3 2016 release webinar banner
  4. Thomas
    Thomas avatar
    6 posts
    Member since:
    May 2013

    Posted 27 Jun 2013 Link to this post

Back to Top