This is a migrated thread and some comments may be shown as answers.

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

3 Answers 693 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
sabarishbabu
Top achievements
Rank 1
sabarishbabu asked on 04 Nov 2009, 07:25 AM
Hi,

   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





3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 05 Nov 2009, 11:46 AM
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,
Steve
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.
0
Arlene
Top achievements
Rank 1
answered on 05 Jul 2016, 06:51 AM

Hi,

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?

 

0
Katia
Telerik team
answered on 05 Jul 2016, 01:51 PM
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 //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.

Regards,
Katia
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
Gary
Top achievements
Rank 1
commented on 12 Sep 2023, 04:48 PM

Hello,

Is this feature supported in the latest Report Designer?

Thanks.

Todor
Telerik team
commented on 15 Sep 2023, 07:43 AM

Hi Gary,

The requirement may be achieved only in the Report Viewers with custom parameter editors as explained in the previous post.

We have a feature request for the functionality and you may vote for it to increase its priority - Cascading report parameter visibility.

Tags
General Discussions
Asked by
sabarishbabu
Top achievements
Rank 1
Answers by
Steve
Telerik team
Arlene
Top achievements
Rank 1
Katia
Telerik team
Share this question
or