RadScriptManager + ASP.NET MVC

8 posts, 0 answers
  1. Erik
    Erik avatar
    22 posts
    Member since:
    Apr 2009

    Posted 27 Apr 2009 Link to this post

    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!")}
    //]]>

  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 27 Apr 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Erik
    Erik avatar
    22 posts
    Member since:
    Apr 2009

    Posted 27 Apr 2009 Link to this post

    Thank you for your response but the problem is still there.
  5. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 27 Apr 2009 Link to this post

    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.
  6. Erik
    Erik avatar
    22 posts
    Member since:
    Apr 2009

    Posted 28 Apr 2009 Link to this post

    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.
  7. Erik
    Erik avatar
    22 posts
    Member since:
    Apr 2009

    Posted 28 Apr 2009 Link to this post

    And how do I open a support ticket?=)
  8. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 28 Apr 2009 Link to this post

    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.
  9. Erik
    Erik avatar
    22 posts
    Member since:
    Apr 2009

    Posted 28 Apr 2009 Link to this post

    Thanks I'll take a look at that :)
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017