With our next service pack you will be able to compress your entire AJAX traffic completely codeless with a single web.config setting:

  <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> 
        The system.webServer section is required for running ASP.NET AJAX under Internet
        Information Services 7.0.  It is not necessary for previous version of IIS.
       <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> 

Support for all traditional ajax requests including RadAjaxManager, RadAjaxPanel, plain UpdatePanel, etc.
Support for all WebService requests with content type "application/json"
Support for all modern browsers including IE7, FireFox, Chrome, etc. IE6 is not supported however you will not get any errors - just uncompressed response!

Will not support Microsoft ASP.NET AJAX 1.0 (available only for .NET 3.5)
Will not support PageMethods

The module will work also without any problems with IIS7 compression!

To check what is the real benefit I've made small demo with two grids:

- first grid bound to LinqDataSource and ajaxified using RadAjaxManager (traditional ajax)

- second grid bound to a WebService (client-binding) with pure JSON response

The result? Page to page two Northwind Customers table with ten records per page:

- traditional ajax: Bytes Received: 3,436 (uncompressed 7,842)
- JSON: Bytes Received: 1,523 (uncompressed 2,965)


[Live | Download]

About the Author

Vladimir Enchev

is Director of Engineering, Native Mobile UI & Frameworks


Comments are disabled in preview mode.