RadControls for ASP.NET AJAX

RadControls Send comments on this topic.
Registering the HttpHandlers on Windows Vista IIS 7 Integrated mode
Installation and deployment > Deploying RadControls for ASP.NET AJAX > Registering the HttpHandlers on Windows Vista IIS 7 Integrated mode

Glossary Item Box

When a web site is running under IIS7 Integrated mode, the web server searches the HttpHandler registrations under the <system.webServer> configuration section instead of the standard <system.web> configuration section of the application configuration file. When not in IIS7 Integrated mode (Classic mode for example), you have to fall back to the IIS5/IIS6 instructions and no modifications are required because the http handlers registration entries will be read from the <httpHandlers> section of web.config.

As Visual Studio 2005 currently does not support the <system.webServer> section, it is needed to manually register the RadControls "HttpHandlers", or using the IIS administration capabilities.

The manual registration is done the following way:
Let us suppose you have the following structure of the web.config file:

 

<system.web>

<httpHandlers>
 …  
<add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"
   
validate="false" />
 

</httpHandlers>
</
system.web>
<
system.webServer>
<handlers>
 

</handlers>
</
system.webServer>

All you need to do to manually register the HttpHandler for the IIS7 Integrated mode is copy the Telerik HttpHandler to the <handlers> section of the <system.webServer> section group, delete the validate attribute and give it a name, e.g.

<system.webServer>
<handlers>
 

<add name=”Telerik.Web.UI.DialogHandler”path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" />
 

</handlers>
</
system.webServer>

The IIS 7.0: Add a Managed Handler Mapping article explains how to register the HttpHandlers using the IIS7 capabilities.