How can I disable handler detection for all Telerik controls

Posted by Community Admin on 05-Aug-2018 20:03

How can I disable handler detection for all Telerik controls?

All Replies

Posted by Community Admin on 09-Jul-2013 00:00

My Sitefinity 6 site was working just fine until I wrap several sections of the web.config file in order to prevent child applications from inheriting them.

For example, I can wrap system.web, system.serviceModel, system.webServer, and microsoft.identityModel inside a tag like the following:

<location path="." inheritInChildApplications="false">

This allows my custom child application to work without all the handlers/modules, factories, etc. that Sitefinity uses. However, once I access a page in my CMS below the Homepage, I start getting errors from Telerik controls about missing handler registrations. They are there and working, but it seems like the Telerik handler detection doesn't quite understand the location element with path=".".

Is there a way I can set all Telerik controls' EnableHandlerDetection property to "false" from the web.config or some other global place?

Thanks,

-Matt

Posted by Community Admin on 10-Jul-2013 00:00

I ended up wrapping everything mentioned above in the location element that restricts child application inheritance, except for the handlers and modules. I left the elements system.web\httpHandlers, system.web\httpModules, system.webServer\handlers, and system.webServer\modules at the root level of the configuration element (not inside the location element). Then, in my child application, I removed each handler/module the parent declares.

This thread is closed