I just wanted to post this so someone else doesn't waste the 9 hours I wasted the other day. If you are using the RadCompression Module, in conjunction with jquery/javascript ajax calls to the web server you WILL have the following issue on your Visual Studio development web server.
The following demonstrates the issue:
Standard Telerik module includes in the system.web section of the web.config:
Standard Telerik module includes in system.webServer section of the web.config:
The results of the Ajax call with the compression module included can be seen in the screen4.png attachment.
If we turn the compression module off (as follows):
The results of the Ajax call with the compression module not included can be seen in the screen5.png attachment.
Please note: This is only an issue with the Web development server. IIS handles the compression correctly.
I hope this helps anyone struggling with thier Ajax Calls while using telerik.
Thanks,
Anthony
The following demonstrates the issue:
Standard Telerik module includes in the system.web section of the web.config:
<httpModules> <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/> <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/></httpModules>Standard Telerik module includes in system.webServer section of the web.config:
<modules runAllManagedModulesForAllRequests="true"> <remove name="RadUploadModule"/> <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode"/> <remove name="RadCompression"/> <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode"/></modules>The results of the Ajax call with the compression module included can be seen in the screen4.png attachment.
If we turn the compression module off (as follows):
<httpModules> <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/></httpModules><modules runAllManagedModulesForAllRequests="true"> <remove name="RadUploadModule"/> <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode"/> <remove name="RadCompression"/></modules>The results of the Ajax call with the compression module not included can be seen in the screen5.png attachment.
Please note: This is only an issue with the Web development server. IIS handles the compression correctly.
I hope this helps anyone struggling with thier Ajax Calls while using telerik.
Thanks,
Anthony