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

Upgrade from 2008 to 2011 problems

7 Answers 101 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jamie
Top achievements
Rank 1
Jamie asked on 21 Oct 2011, 03:25 PM
Hi Everybody - I have taken over a project that used the Telerik controls from 2008 and I just ran the upgrade wizard and now I am gitting a bunch of $telerik is not defined errors and non of the RadWindows are working

can someone point me in a direction to get started? I'm really new to Telerik controls too :)

Thanks
Jamie

7 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 Oct 2011, 03:31 PM
Hello Jamie,

Have you tried the steps described in the documentation to upgrade.
Updating RadControls for ASP.NET AJAX to another version or license.

Thanks,
Shinu.
0
Jamie
Top achievements
Rank 1
answered on 21 Oct 2011, 03:35 PM
Thanks for the link Shinu I will go through that now!
0
Jamie
Top achievements
Rank 1
answered on 21 Oct 2011, 04:32 PM
I went through that page and did the things but it did not help - I even pushed the site up to my server in a development area so I'm not working locally - I can cludge past the errors and some things work but there are a few that don't

for instance the RADTabStrips don't let me click on any of the tabs (or at least it doesn't switch to the tab)

I am still getting the $telerik is not defined locally too
0
Iana Tsolova
Telerik team
answered on 26 Oct 2011, 05:19 AM
Hi It,

You can try troublesooting the error as described here.
Additioanlly, can you specify under which .NET version is the web site built, and which is the exact version number of the Telerik.Web.UI dll version you are using? Also, do you have jQuery added to the project, if yes, check the below files:
http://www.telerik.com/help/aspnet-ajax/introduction-using-jquery.html
http://www.telerik.com/help/aspnet-ajax/introduction-using-jquery-plugins.html

Regards,
Iana Tsolova
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Jamie
Top achievements
Rank 1
answered on 26 Oct 2011, 02:11 PM
Thanks Iana

The website is .net 3.5
The OLD Telerik.Web.UI version is 2008.01.0619.35
and the NEW one i am trying to upgrade to is the latest 2011 version

and yes I do have JQuery added to the project, so i will check out those too links - Thanks!
0
Jamie
Top achievements
Rank 1
answered on 26 Oct 2011, 03:25 PM
Here's what my scriptmanager looks like (again I inherited this project so I'm still trying to learn how things are wired - it's MVP if it makes a difference)

 <asp:ScriptManager ID="scriptManager" runat="server" AsyncPostBackTimeout="600">
            <Scripts>
                <asp:ScriptReference NotifyScriptLoaded="true" Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js"
                    Path="~/RadControls/Scripts/Common/Core.js" />
                <asp:ScriptReference NotifyScriptLoaded="true" Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Animation.AnimationScripts.js"
                    Path="~/RadControls/Scripts/Common/Animation/AnimationScripts.js" />
                <asp:ScriptReference NotifyScriptLoaded="true" Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Navigation.NavigationScripts.js"
                    Path="~/RadControls/Scripts/Common/Navigation/NavigationScripts.js" />
                <asp:ScriptReference NotifyScriptLoaded="true" Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Menu.RadMenuScripts.js"
                    Path="~/RadControls/Scripts/Menu/RadMenuScripts.js" />
            </Scripts>
            <CompositeScript ScriptMode="Release">
                 <Scripts>
                    <asp:ScriptReference Path="~/ClientScript/jquery.js" NotifyScriptLoaded="true" />
                    <asp:ScriptReference Path="~/ClientScript/Common.js" NotifyScriptLoaded="true" />
                 </Scripts>
            </CompositeScript>
        </asp:ScriptManager>
0
Iana Tsolova
Telerik team
answered on 26 Oct 2011, 03:42 PM
Hi It,

As a first step I suggest that you remove the custom jQuery files and use these built in the Telerik.Web.UI dll. You can also replace the ASP:ScriptManager with RadScriptManager and I believe you do not need the Scripts references and these files are embedded and loaded from the assembly without the need to reference them explicitly. Furthermore, the .js files referenced through the ScriptManager are most probably made for an older version of the control and can be a reason for the controls from the new version not to work properly.

Greetings,
Iana Tsolova
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
General Discussions
Asked by
Jamie
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Jamie
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or