I only replace the Telerik.Web.UI.dll and Telerik.Web.Design.dll with the latest ver. 2009.1314.35 and viewing a page in the browser I get the Error: ASP.NET Ajax client-side framework failed to load.
I copy back ver. 2009.1208.35 of the dlls and viewing the same page in the browser works fine!
Using VS 2010 on Win 7 computer. Web.config does not have any version numbers for the Telerik settings.
Both versions are in the GAC.
Why does 1208 work and 1314 not work?
23 Answers, 1 is accepted
Here is a short quote from our documentation:
Using RadControls with RadScriptManager on your login page throws one of the following errors:
- ASP.NET Ajax client-side framework failed to load
- 'Sys' is undefined
- “Telerik.Web.UI” is undefined
As the website denies access to all pages to unauthorized users, access to the Telerik.Web.UI.WebResource.axd handler is unauthorized. This causes the handler to serve the content of the login page instead of the combined scripts, hence the error.
Add a <location> section to the application configuration file to allow access to Telerik.Web.UI.WebResource.axd to all users, like:
[web.config] Add location property
Let me know whether this solution helps.Regards,
the Telerik team
I have found the problem and it is that the new version (1314.35) in NOT compatible with Intelligencia.UrlRewriter.dll!
Version 1208.35 is compatible and I need Intelligencia.UrlRewriter.dll
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
i am racking my brain trying to find the solution, but nothing outlined here works.
You will need to change your Web.config - check this thread for more info:
the Telerik team
My issue is specifically the RadScriptManager returning the "
ASP.NET Ajax client-side framework failed to load" error message.
I'm afraid there are a number of different reasons for this error. I would really appreciate it if you could provide a working project that demonstrate the problem.
In the meantime you can examine the following threads:
RadScriptManager not woirking with login screen - Ajax Forum - ASP ...
Microsoft JScript runtime error: Sys.ScriptLoadFailedException ...
RadScriptManager Causes "ASP.NET Ajax client-side framework failed ...
the Telerik team
I need to resolve this issue.
Unfortunately there is no universal remedy for this error. I will gladly debug your code locally provided that you can isolate the problem in a runnable sample.
Thank you for your understanding.
the Telerik team
I'm afraid there are various reasons that may cause such an error, ranging from JS errors to permission issues as stated below. This is why the fastest way to help you resolve the problem would be to ask you to provide a runnable demo which I could debug on my end. I would recommend that you submit a support ticket with the aforementioned example attached.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
to me problem solver was -
<telerik:RadScriptManager runat="server" EnablePageMethods="True" EnableScriptCombine="false" ></telerik:RadScriptManager>
EnableScriptCombine="false" - should be false, since telerik handler cannot combine scripts(2013.3.1324.40 version).
The issue was coming after we moved 3.5 framework to 4.5 and used VisualStudio 2013.
Again thanks a lot for giving the solution :)
Setting EnableScriptCombine false resolved my issue too.
The issue was coming after I moved 3.5 framework to 4.5 and used VisualStudio 2012.
We are migrating the project from .Net 4.0 framework, IIS6, VS2010 to .Net 4.5 framework,IIS8 & VS 2013. We are getting "ASP.NET Ajax client-side framework failed to load." exception. In our older code we are using telerik version 2011.1.413.35. After running the same code using 4.5 and when we are accessing the page, telerik itself is not loaded in scripts whereas all other scripts are loading.
We tried all the solutions given above. Still none of the solutions helped me.
Should I need to change the telerik version. If yes, what is the version I should use?
Please help us in this issue.
Can you confirm you have all the required HTTP handlers in the web.config: http://docs.telerik.com/devtools/aspnet-ajax/general-information/web-config-settings-overview#mandatory-additions-to-the-webconfig?
It is also important that this server has the MS AJAX framework installed, as noted here: http://docs.telerik.com/devtools/aspnet-ajax/deployment/deploying-a-telerik-enabled-webapplication.
The next thing is to ensure all the requests for them can pass, which often involves adding the appropriate location elements and excluding them from any routing that is used.
Since you are using VS2013, I also advise that you disable the BrowserLink feature as it is known to cause issues with webresources requests.
Considering the upgrade to .NET 4.5, it is best to also use builds of our assemblies that target .NET 4.5, but they are available in later versions. Since the 2011 version you are using does not support the current browsers, I would strongly advise that you update to the latest (2015.1.401.45 at the time of writing).
I did the above steps still getting same issue.
ASP.NET Ajax client-side framework failed to load
'Sys' is undefined
“Telerik.Web.UI” is undefined
My Config settings
<add assembly="System.Design, Version=188.8.131.52, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=184.108.40.206, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
<add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/>
<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" name="Telerik.Web.UI.WebResource"/>
<add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" name="Telerik.Web.UI.RadUploadProgressHandler"/>
Let me what i am missing.
You need to make sure the MS AJAX framework functions properly on the server, as described in the prerequisites section: http://docs.telerik.com/devtools/aspnet-ajax/general-information/adding-the-telerik-controls-to-your-project.
Once an app with a simple asp:ScriptManager and asp:UpdatePanel works fine, loads all its resources and performs partial postbacks, our controls should work too. If you have some form of authentication enabled, you may need to allow access to our handlers via <location> elements.
Telerik by Progress