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

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

1 Answer 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Michael asked on 29 Jan 2015, 10:02 AM
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.

1 Answer, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
answered on 29 Jan 2015, 02:22 PM
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>






Tags
General Discussions
Asked by
Michael
Top achievements
Rank 1
Answers by
Michael
Top achievements
Rank 1
Share this question
or