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

RadScriptManager + ASP.NET MVC

7 Answers 121 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 1
Erik asked on 27 Apr 2009, 01:27 PM
Im using RadScriptManager but when i Debug the page i've keep getting this error:
Microsoft ASP.NET AJAX cannot be initialized!
[Break on this error] if(typeof(Sys) != "undefined"){$addH...t ASP.NET AJAX cannot be initialized!"

RadScriptManager automaticly adds the folowing javascript:

<script type="text/javascript">
//<![CDATA[
    if(typeof(Sys) != "undefined"){$addHandler(window, "load", function(){Sys.Application.initialize();}); } else { throw new Error("Microsoft ASP.NET AJAX cannot be initialized!")}
//]]>

7 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 27 Apr 2009, 01:36 PM
Hello Erik,

This error indicates that for some reason ASP.NET ajax's script has not been loaded. This usually implies a web resource loading issue. I suggest you check this blog post for troubleshooting instructions.

Greetings,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Erik
Top achievements
Rank 1
answered on 27 Apr 2009, 01:59 PM
Thank you for your response but the problem is still there.
0
Atanas Korchev
Telerik team
answered on 27 Apr 2009, 03:03 PM
Hi Erik,

I suggest you open a support ticket and attach your project so we can troubleshoot.

Regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Erik
Top achievements
Rank 1
answered on 28 Apr 2009, 05:36 AM
Welll its basicly a clean ASP.NET MVC Project, I've tried to create a news project but as I add the RadScriptManager the same "error" allways appears.
0
Erik
Top achievements
Rank 1
answered on 28 Apr 2009, 06:27 AM
And how do I open a support ticket?=)
0
Paul
Telerik team
answered on 28 Apr 2009, 07:15 AM
Hi Erik,

We have a few sample applications with ASP.NET MVC. I suggest you check the ones attached to this blog post. We also have a fullblown MVC web site which you can check here. The source can be downloaded from here.

Regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Erik
Top achievements
Rank 1
answered on 28 Apr 2009, 07:52 AM
Thanks I'll take a look at that :)
Tags
General Discussions
Asked by
Erik
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Erik
Top achievements
Rank 1
Paul
Telerik team
Share this question
or