HTML5 Report Viewer - Export options are missing

Thread is closed for posting
3 posts, 1 answers
  1. Mark
    Mark avatar
    4 posts
    Member since:
    Oct 2014

    Posted 03 Oct 2014 Link to this post

    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. Answer
    Stef
    Admin
    Stef avatar
    3050 posts

    Posted 03 Oct 2014 Link to this post

    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.

     
  3. DevCraft banner
  4. Mark
    Mark avatar
    4 posts
    Member since:
    Oct 2014

    Posted 03 Oct 2014 in reply to Stef Link to this post

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