This is a migrated thread and some comments may be shown as answers.
Upgrading the Telerik.Charting.dll in SP 2010
1 Answer 33 Views
This is a migrated thread and some comments may be shown as answers.
Kartheek
Top achievements
Rank 1
Kartheek asked on 21 Mar 2011, 10:24 PM
We are using Telerik.Charting.dll  in our SharePoint 2007 solution, we recently upgraded the solution to VS 2010 and  SP 2010, and we want to upgrade the Telerik.Charting.dll to current version which is "RadControls for ASP.NET Q1 2009" , could you please guid us in upgrading, we have upgraded the "Telerik.Web.UI.dll" file.

Thanks,
Kartheek

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 24 Mar 2011, 01:52 PM
Hello Kartheek,

Generally with the release of RadControls Q3 2008 and all future versions we have introduced a change related to the Telerik.Charting assembly that is now IL merged into Telerik.Web.UI assembly -- please review the changes and backwards compatibility guide here.

As for Sharepoint -- please check the Integrating RadControls in SharePoint section in our online help and with the additional info provided in this forum post.

These two entries must be present in the SafeControl list:
<SafeControl Assembly="Telerik.Web.UI, Version=2011.1.315.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" SafeAgainstScript="False" />
<SafeControl Assembly="Telerik.Web.UI, Version=2011.1.315.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Charting" TypeName="*" Safe="True" SafeAgainstScript="False" />

Register the Chart http handler in the respective section of the web.config:
IIS6 and above (integrated mode)
<system.webserver>
    ...
    <handlers>
      
        ...
      
        <add name="ChartImage.axd_*" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2011.1.315.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />
    </handlers>
    <validation validateIntegratedModeConfiguration="false"/>
</system.webserver>

IIS5.x or IIS 6 and above (classic mode)
<httphandlers>
    <remove verb="*" path="*.asmx" />
    ...
  
    <add verb="*"path="ChartImage.axd"type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2011.1.315.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
</httphandlers>

These two register directives must be present on the page that will be displaying the chart control:
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI, Version=2011.1.315.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Charting" Assembly="Telerik.Web.UI, Version=2011.1.315.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %>

Note that you need to replace the assembly version numbers in the snippets above with the specific Telerik.Web.UI assembly version you are using in your project.


All the best,
Giuseppe
the Telerik team
Asked by
Kartheek
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or