How to hide/show the report paramter based on other parameter selected

4 posts, 0 answers
  1. sabarishbabu
    sabarishbabu avatar
    136 posts
    Member since:
    Apr 2009

    Posted 04 Nov 2009 Link to this post


       i have 3  Report parameters that are follows

    1. GraphCategory - drop down list contains the values like "lab","user"
    2 . Users - drop down list - binding data source from database
    3.  Labs - drop down list - binding data source from database

    i need to hide/show the users/labs parameter based on graph category selected.
    For example, if selecting the category as "lab", need to show the "Labs" parameter, if selecting "user", need to show the "Users" parameter and hide the "Labs" parameter.

    Please help  me how to hide and show the parameters based on condition?

    Thanks for any help

  2. Steve
    Steve avatar
    10941 posts

    Posted 05 Nov 2009 Link to this post

    Hello sabarishbabu,

    No such functionality is available out of the box. The built-in report parameter area allows you to work with the parameters and filters of the report within the most used scenarios. Extended features such as styling of the report parameter controls, exposing controls' events or showing/hiding a parameter based on a condition are not supported. You should implement your own parameter area for this purpose, design it in the way you need and wire it up to the report through the flexible Report API.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
  4. Arlene
    Arlene avatar
    2 posts
    Member since:
    Dec 2015

    Posted 05 Jul in reply to Steve Link to this post


    Is there any option or feature available in latest versions of telerik ?

    i am using telerik reporting R2 2016

    i have requirement to hide/show any parameter based on another parameter value?


  5. Katia
    Katia avatar
    241 posts

    Posted 05 Jul Link to this post

    Hello Arlene,

    I believe this was already answered in a support ticket #1048091. For other community members interested in this topic below is the reply from the support ticket:

    "Report parameters visibility cannot be controlled via expression - parameters are shown or hidden by definition (report definition) on report preview in a viewer.
    Thus, the default implementation of parameters area of the viewer does not have the functionality to change parameters visibility dynamically.

    However, on displaying a report you can hide the default parameters area, and add custom parameters editors (UI) and your own html/css/js logic to show/hide parameters editors.
    Please see How To: Create a Custom Parameter Editor and How To: Pass Values to Report Parameters
     help articles for more detailed information."

    If you have further questions let us continue the discussion in one of the threads to keep a better track of the exchanged information.

    Telerik by Progress
    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
Back to Top