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

Upgrading RadControls version from ASPNET to ASPNET AJAX

2 Answers 131 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mak
Top achievements
Rank 1
Mak asked on 25 Oct 2010, 03:36 PM
Hi There,

we recently decided to begin the process of upgrading our product so that it becomes compatible with Telerik RadControls ASP.NET AJAX. We've spent a number of days now reading different KB articles and watching some upgrade videos but have been running into the same problems regardless. Our product is a .NET 2.0 application with no prior use of AJAX, so we also had to look into editing the web.config so that it supports System.Web.Extensions. 

There have been two errors that visual studio constantly prompts us about once we go through the process of replacing the register directive with 'Telerik.Web.UI' and then deleting the older DLLs. (We are also receiving errors for Telerik.Charting but this is another story i think...)

 ASP.NET runtime error: The base class includes the field 'radGdUserGroup', but its type (Telerik.WebControls.RadGrid) is not compatible with the type of control (Telerik.Web.UI.RadGrid). <<FILENAME>>

ASP.NET runtime error: Could not load file or assembly 'RadTreeView.Net2' or one of its dependencies. The system cannot find the file specified.  <<FILENAME>>

We really hope that you guys can assist in helping to remove these errors from our solution so that we can continue using the Telerik suite.

Regards

A.

2 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 26 Oct 2010, 01:19 PM
Hi Ahmed,

Make sure to include Telerik.Web.UI in the code-behind of your pages, and not to include Telerik.WebControls. Then make sure all declarated grids are of Telerik.Web.UI.RadGrid type.
Check your references one more time and make sure they point to the newer assemblies.
Also see this help topic about migration of the grid.

In your references, remove the assembly 'RadTreeView.Net2' as it is not longer used. RadTreeView is defined in Telerik.Web.UI now. See the topic about migration of the RadTreeView control.

Best wishes,
Vasil
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Mak
Top achievements
Rank 1
answered on 26 Oct 2010, 01:31 PM

Hi Vasil,

 

I will look into this ASAP, and will mark this as complete if it helps! the 'Migration from XYZ' pages will also be very useful so thank you for pointing me in the right direction!

 

Regards

Ahmed

 

 

Tags
General Discussions
Asked by
Mak
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Mak
Top achievements
Rank 1
Share this question
or