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

Upgrading from Telerik.WebControls to Telerik.Web.UI

3 Answers 274 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marc-André Gendron
Top achievements
Rank 1
Marc-André Gendron asked on 05 Aug 2009, 05:31 PM
Hi,

I have an older web application using Telerik.WebControls namespace and *.NET2 assemblies. Where can I find the documentation on how to perform an upgrade of this kind of application to the latest version of Telerik controls? I tried copying the new Telerik.Web.UI.dll, updating web.config and changing all references of Telerik.WebControls to Telerik.Web.UI namespace but it's not working. Thanks for your help,

Marc

3 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 06 Aug 2009, 09:43 PM
From what I recall there might be some issues going from an application built on an older version to a newer one (don't quote me on that). I know, for example, that the new way that skins are handled etc. might pose a problem. I found this in the knowledge base after a quick look-around: http://www.telerik.com/support/kb/aspnet-ajax/general/updating-radcontrols-for-asp-net-to-another-version-or-license.aspx, that might be helpful. Otherwise I don't think there's a straight up nice and easy conversion although someone on the forums might prove me wrong.
0
Princy
Top achievements
Rank 2
answered on 07 Aug 2009, 07:28 AM
Hello Marc,

You can also go through the forum link which discusses on migrating the Classic version of RadControls to the Prometheus version:
Rad Controls 2008 Q1 migration to AJAX Q3 2008

Hope this helps..
Princy.
0
Svetlina Anati
Telerik team
answered on 07 Aug 2009, 01:05 PM

Hi Schlurk,

The link Princy has provided explains how to update the client - side code according to the ajax controls naming conventions. However, you should also have AJAX enabled for your site - this requires many changes in the Web.config but you can easily apply them as explained below .

When you use VS2005 and you have downloaded the AJAX Extensions, a new kind of  WebSite is available for creation - when you go to File/New/WebSite an "AJAXEnabledWebSite" option is added to the dialog box. That is the right kind of application you should use.

When you use VS2008 you do not have to download the AJAX Extensions, because they are built-in and when you create a WebSite its Web.config file has the corresponding settings by default.

This being said, the Web.config files are different when using VS2005 and VS2008 and you should determine which one you need.

Therefore I suggest to create a new project in the right VS and copy its web.config's content in your current web.config. Please note, that after that you should add the assemblies' references, ConnectionStrings (if any) and all other previously made by you modifications.

In case you encounter problems or need further assistance, do not hesitate to contact us again!

All the best,

Svetlina
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.
Tags
General Discussions
Asked by
Marc-André Gendron
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Princy
Top achievements
Rank 2
Svetlina Anati
Telerik team
Share this question
or