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

HTML5 Report Viewer - Export options are missing

2 Answers 627 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mark
Top achievements
Rank 1
Mark asked on 03 Oct 2014, 02:12 PM
The Export options are missing from the Report Viewer - I'm using the HTML5 Report Viewer.  The icon is visible but clicking it does nothing. 

I can successfully call api/reports/formats and see the available formats in the returned json
I have references to DocumentFormat.OpenXML and Telerik.Reporting.OpenXmlRendering

According to the docs this is enabled by default, so what am I missing? 

2 Answers, 1 is accepted

Sort by
0
Accepted
Stef
Telerik team
answered on 03 Oct 2014, 02:39 PM
Hello Mark,

First please go trough the details provided in  this forum thread, and verify the service responds by testing its URL in browser.

  • If the service responds correctly, then the reason might be in mixed Javascript files' versions - on one page there must be loaded only one jQuery and the corresponding kendo JS files' version, where the JS files must meet the minimum system requirements.
  • If the service does not respond double-check its settings. If the service is hosted separately, you may need to enable CORS. Also check if all HTTP methods are enabled in the hosting environment.
 
The best troubleshooting approach in such cases is to use the browser's console or Fiddler and check the failed requests. Thus you can see if relative paths (for JS/CSS/HTML files and the viewer's serviceUrl) in the application are resolved correctly. You can use Url.Content("~") method to get the proper base for the relative paths.
Note you have to load only one version of jQuery and kendo Javascript files on the page, which satisfy the minimum requirements for the HTML5 Report Viewer.

You can also check the local demos installed by default under C:\Program Files (x86)\Telerik\Reporting Q2 2014\Examples\CSharp.


If you need further help, please open a support ticket and send us the log file created by Fiddler, including the related project files to check the settings.


Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Mark
Top achievements
Rank 1
answered on 03 Oct 2014, 03:06 PM
Thanks for pointing me in the right direction. The issue was the order in which the css files were loaded. I used the Index.cshtml from the MvcDemo project as a reference.
Tags
General Discussions
Asked by
Mark
Top achievements
Rank 1
Answers by
Stef
Telerik team
Mark
Top achievements
Rank 1
Share this question
or