This is a migrated thread and some comments may be shown as answers.

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

0 Answers 64 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nathan J Pledger
Top achievements
Rank 2
Nathan J Pledger asked on 29 Apr 2010, 06:23 PM
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"?> 
 
<configuration> 
  
  <system.web> 
    
    <httpHandlers> 
        <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> 
 
    </httpHandlers> 
  </system.web> 
  <system.webServer> 
    <modules runAllManagedModulesForAllRequests="true" /> 
 
      <handlers> 
          <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" /> 
 
      </handlers> 
  </system.webServer> 
     
</configuration> 


Hope this helps someone.

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Nathan J Pledger
Top achievements
Rank 2
Share this question
or