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

Html viewer parameters Preview button is Disabled

1 Answer 169 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 22 Aug 2017, 02:43 PM

I have a report with one parameter that the user can change. However, the Preview button is disabled and I can't figure out why. I'm using the HTML report viewer with MVC.

I have other reports with same functionality where the Preview button is enabled.

 

 

1 Answer, 1 is accepted

Sort by
0
Ivan Hristov
Telerik team
answered on 24 Aug 2017, 10:33 AM
Hi David,

We already answered to your question in the support ticket, but will post the answer here too, in case another user stumbles upon the same problem.

When your report has at least one report parameter with AutoRefresh set to False, it displays a Preview button, which will be enabled when all the parameters have valid values. The value validation is performed when leaving the parameter control (textbox, list, date-time picker, etc.)

If your Preview button stays disabled even when your parameters have valid values and the currently focused control is not a parameter, probably an external style is interfering with the button styling. In this case you can try to determine the currently applied styles on the button, using your browser's developer tools.
If you do not manage to find the problem, we would like to ask you to provide a runnable sample of your report along with the needed data so we can test it on our side.

Regards,
Ivan Hristov
Progress Telerik
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
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
Ivan Hristov
Telerik team
Share this question
or