FYI: RadScriptManager registration in root web.config and ASP.NET AJAX error "ASP.NET Ajax client-side framework failed to load"

1 posts, 0 answers
  1. Nathan J Pledger
    Nathan J Pledger avatar
    95 posts
    Member since:
    Apr 2006

    Posted 29 Apr 2010 Link to this post

    For the sake of Google ...

    If you are using RadScriptManager and you are using multiple web.config files, make sure the handler is registered in the top-most web.config file, even all the files reside beneath the folder in which your child web.config file lives.

    I had an /admin/web.config file (which has my RadScriptManager handlers registered)
    and I had my /web.config file (which did not)

    It appeared to work until I was using the WCF element of the RadTReeView (specifically, clicking on a dynamically generated node - the tree dynamically generated fine) so this was giving a false impression.

    Without the root web.config file having the handler registrations, you get a "ASP.NET Ajax client-side framework failed to load." error from JavaScript.

    Those registrations, again:

    <?xml version="1.0"?> 
            <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> 
        <modules runAllManagedModulesForAllRequests="true" /> 
              <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" /> 

    Hope this helps someone.
Back to Top