Upgrading RadControls version from ASPNET to ASPNET AJAX

3 posts, 0 answers
  1. Mak
    Mak avatar
    39 posts
    Member since:
    Oct 2008

    Posted 25 Oct 2010 Link to this post

    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.



  2. Vasil
    Vasil avatar
    1604 posts

    Posted 26 Oct 2010 Link to this post

    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,
    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
  3. Mak
    Mak avatar
    39 posts
    Member since:
    Oct 2008

    Posted 26 Oct 2010 Link to this post

    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!






Back to Top