Html viewer parameters Preview button is Disabled

2 posts, 0 answers
  1. David
    David avatar
    9 posts
    Member since:
    Oct 2015

    Posted 22 Aug Link to this post

    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.

     

     

  2. Ivan Hristov
    Admin
    Ivan Hristov avatar
    126 posts

    Posted 24 Aug Link to this post

    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
Back to Top