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

Html5 ReportView export fails in Chrome/FireFox

3 Answers 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 25 Jul 2014, 07:59 PM
When the following line is included in the web.config, the export feature in the Html5 Report View fails for Chrome and Firefox.

<system.webServer>
     <modules runAllManagedModulesForAllRequests="true">
             <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" />
     </modules>
</system.webServer>

Please advise since we would like to keep the compression active on our site.

3 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 29 Jul 2014, 12:33 PM
Hello Brian,

If IIS dynamic compression and RadCompression are both enabled this can lead to double compression of the response and the described issues may occur.

We suggest to disable RadCompression just for the Web API by adding the following configuration to the web.config:
<configuration>
  <configSections>
    <sectionGroup name="telerik.web.ui">
      <section name="radCompression" type="Telerik.Web.UI.RadCompressionConfigurationSection, Telerik.Web.UI, PublicKeyToken=121fae78165ba3d4" allowDefinition="MachineToApplication" requirePermission="false"/>
    </sectionGroup>
  </configSections>
  
  <telerik.web.ui>
    <radCompression>
      <excludeHandlers>
        <add handlerPath="api/reports/" matchExact="false"/>
      </excludeHandlers>
    </radCompression>
  </telerik.web.ui>
...

where the handlerPath should point to the REST service serviceUrl.

For more information, please refer to the RadCompression help article.

Regards,
Nasko
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
Brian
Top achievements
Rank 1
answered on 29 Jul 2014, 01:38 PM
Can you please clarify the documentation on RadCompression.  The article seems to start out by saying that RadCompression doesn't replace IIS Compression, and that they can work together, but then later in the article it says "When using IIS dynamic compression enabling RadCompression is not required as this will result in double compression of the response.".  We are using IIS 8, do we need RadCompression or not?
0
Konstantin Dikov
Telerik team
answered on 01 Aug 2014, 01:11 PM
Hello Brian,

As documented in our help article, when using IIS dynamic compression you should not include RadCompression, because having a double compression of the response will cause problems and the page will probable break after an AJAX request.

If you have enabled Dynamic Compression in IIS you will not be able to use RadCompression, but if you disable the IIS compression you could use RadCompression instead without any problems.

Please let me know if you have other questions on this matter.


Regards,
Konstantin Dikov
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.

 
Tags
General Discussions
Asked by
Brian
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Brian
Top achievements
Rank 1
Konstantin Dikov
Telerik team
Share this question
or