ERROR: RadChart.Net2.dll and Telerik.Web.UI

Thread is closed for posting
2 posts, 0 answers
  1. Inger Rönngren
    Inger  Rönngren avatar
    1 posts
    Member since:
    Mar 2009

    Posted 24 Sep 2010 Link to this post

    Im currently upgrading the RadGrid from the RadGridNet2.dll to the newer found in Telerik.Web.UI. The problem is that i dont want to updragde the RadChart so i dont remove the RadChart.Net2.dll from my project, instead i set the alias to something else than global in order to avoid namespace conflicts. However when i debug my site im still getting this error:


    c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\hauliermanagement\79af6066\1eaca894\App_Web_graphtable.ascx.b3eb3a1f.aw_nms1w.0.cs(183): error CS0433: The type 'Telerik.Charting.ChartSeries' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\hauliermanagement\79af6066\1eaca894\assembly\dl3\e42fd8ce\00b73c75_97b6c901\Telerik.Web.UI.DLL' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\hauliermanagement\79af6066\1eaca894\assembly\dl3\692c3a46\65f87e34_c35bcb01\RadChart.Net2.DLL'


    This is very very urgent, please help!
  2. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 29 Sep 2010 Link to this post

    Hi Inger Rönngren,

    The code in Telerik.Charting namespace is shared by Telerik.Web.UI and RadChart.Net2, meaning they cannot co-exist in the same project. Still, the migration should be fairly easy as RadChart for ASP.NET AJAX has all the features of RadChart for ASP.NET (version 4.0 and later) and adds zoom/scroll on top of it. To migrate RadChart for ASP.NET (RadChart.Net2.dll) to RadChart for ASP.NET AJAX (part of Telerik.Web.UI.dll) you need to remove the reference to RadChart.Net2.dll and replace the Register directives as follows:

    <%@ Register Assembly="RadChart.Net2" Namespace="Telerik.WebControls" TagPrefix="myTagPrefix" %>
    <%@ Register Assembly="RadChart.Net2" Namespace="Telerik.Charting" TagPrefix="myTagPrefix" %>

    should become

    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="myTagPrefix" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Charting" TagPrefix="
    myTagPrefix" %>


    Best regards,
    Ves
    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
Back to Top