Telerik blogs

There is no Telerik.Charting.dll anymore. It is now merged into Telerik.Web.UI. You will no more have to worry about its version and its registration in Web.config or replacing it in GAC when new version is out. Here are the steps you need to take when upgrading your applications from RadControls for ASP.NET AJAX version prior to Q3 2008 to RadControls for ASP.NET AJAX Q3 2008 and later:

· If you have Telerik.Charting installed in GAC (this used to be the default RadControls installer action) replace the following Register directive

<% Register Assembly="Telerik.Charting, Version=2.0.5.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763" Namespace="Telerik.Charting" TagPrefix="telerik" %>
 
with this one:
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Charting" TagPrefix="telerik" %>

You will also need to remove the Telerik.Charting registration from your web.config file. In the <system.web> <compilation> <assemblies> section you will find this line:

<add assembly="Telerik.Charting, Version=2.0.5.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763"/>

Simply remove it.

 

· If you do not have Telerik.Charting installed in GAC (you use it from the local Bin folder) replace this Register directive

<%@ Register Assembly="Telerik.Charting" Namespace="Telerik.Charting" TagPrefix="telerik" %>
 
with this one:
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Charting" TagPrefix="telerik" %>

That is, simply change the Assembly from Telerik.Charting to Telerik.Web.UI. You will also need to remove Telerik.Charting.dll from Bin folder.

In case you have a web application, you will need to remove the reference to Telerik.Charting.

 

This one-time effort will allow you to upgrade to future versions of Telerik.Web.UI  by simply replacing the Telerik.Web.UI.dll without worrying about the fully qualified name of Telerik.Charting and whether the correct version is available in GAC or in the local Bin folder.


Comments

Comments are disabled in preview mode.