JavaScript runtime error: Object doesn't support property or method '_registerScript'

2 posts, 0 answers
  1. Michael
    Michael avatar
    4 posts
    Member since:
    Aug 2008

    Posted 29 Jan 2015 Link to this post

    Hello,

    Recently we've upgraded our framework version from 3.5 to 4.5.1. I'm receiving this error (the one in the title) when hitting a page with any Rad controls. We have actually recently upgraded our Telerik package, as we were using a 2009 version of your controls. So I've tried it using the older libraries, and the brand new ones, but I receive the same errors. I've had a look to see if there's any duplicate references to scripts, but cannot see any. Any ideas?

    Thank you in advance for any help.
  2. Michael
    Michael avatar
    4 posts
    Member since:
    Aug 2008

    Posted 29 Jan 2015 in reply to Michael Link to this post

    I believe I have found the issue. There was a reference to MicrosoftAjax on the layout.Master, this was apparently conflicting with what I presume to be an already included reference to MicrosoftAjax.js inside the telerik library.

    <telerik:RadScriptManager ID="RadScriptManager1" AsyncPostBackTimeout="99999" runat="server" EnablePageMethods="True">
                                <Scripts>
            <asp:ScriptReference Name="MicrosoftAjax.js" ScriptMode="Auto" Path="~/js/Extensions/System.Web.Extensions/3.5.30729.1/MicrosoftAjax.js" />
        </Scripts>
    </telerik:RadScriptManager>






Back to Top