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

Issue disabling report parameter dropdown in Telerik Report Viewer

1 Answer 82 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Satyanarayana
Top achievements
Rank 1
Satyanarayana asked on 21 Nov 2013, 11:56 AM
Hi,

I am facing some issues to disable the Report parameter drop down in Telerik Report Viewer. I want to disable report parameter drown based on another Report Parameter value. Example: I have two report parameters like Country and States. If i select a country form country drop down corresponding states should be filtered(this is achieved) and if i select "ALL" in the country drop down States drop down should be disable. I am not able to disable the states drop down.

Any help would be appreciated. Thanks in Advance.

Thanks,
Satya 

1 Answer, 1 is accepted

Sort by
0
IvanY
Telerik team
answered on 26 Nov 2013, 10:50 AM
Hello Satyanarayana,

You will not be able to disable the report parameter based on the values provided in another parameter. However you have two options - you can change the available values of the second parameter to NA (not applicable) for example, which will be more descriptive for your user compared to just disabling the parameter. 

The second approach will require from you some coding - you can create your own custom parameters area outside the report viewer, using controls of your choice. Then make the report parameters hidden and finally pass the collected input to those parameters programmatically - for more information please check the Using Report Parameters programmatically help article.

Regards,
IvanY
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

Tags
General Discussions
Asked by
Satyanarayana
Top achievements
Rank 1
Answers by
IvanY
Telerik team
Share this question
or