ASP.NET Set Parameters Visible property programmatically

2 posts, 0 answers
  1. steven
    steven avatar
    1 posts
    Member since:
    May 2014

    Posted 25 Apr Link to this post


    I've been trying to set a specific parameters visible property based on another parameters value.

    I have a boolean parameter that allows the displaying of more data in the report.

    I have a 2nd boolean parameter that is hidden. If set to false the 1st bool parameters visible property to should then be set to false.

    At the point of construction of the report, I check both 



    but the values are never set at that point so they do nothing.

    How do I do this?

    I'm using Telerik Reporting Q2 2015



  2. Katia
    Katia avatar
    241 posts

    Posted 27 Apr Link to this post

    Hello Steven,

    Report parameters visibility cannot be controlled via expression and other parameters. Parameters are shown or hidden by report definition on report preview in a viewer.

    If you use HTML5 Report Viewer for displaying reports, you can hide the default parameters area and add custom parameters editors with your own html/css/js logic to show/hide parameters editors.
    Check How To: Create a Custom Parameter Editor and 
    How To: Pass Values to Report Parameters help articles for more detailed information.

    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 Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top