Hi, I'm having problems with Telerik.Charting in a web page using a Prometheus chart. Now you might think this post is in the wrong forum but no.
It seems that the RadControls Q2 2007 SP1 for Winforms installer is installing Telerik.Charting 184.108.40.206 instead of 220.127.116.11. This is causing the error:
when I try to use a Prometheus chart in my web application.
Replacing this dll and XML in C:\Program Files\Telerik\RadControls for WinForms Q2 2007\bin and also in C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies with 18.104.22.168 seems to solve this issues but the old dll (22.214.171.124) is still present in the GAC.
Perhaps the Winforms installer should be updated?
9 Answers, 1 is accepted
Telerik.Charting assembly is shared among many of our products. Although we try to sync our releases to go out together, sometimes a service pack for winforms may come out earlier or later than a service pack for Web.UI. This, however, should not ultimately be a problem for you if you reference the correct version from within your projects. Can you please extend your feedback and let us know how the winforms installer should be updated? Currently it ships with the version of Telerik.Charting which the winforms controls are built against.
Thanks a million for your feedback and looking forward to hearing from you.
the Telerik team
Hi, thanks for your response. The only issue I have is that the current Prometheus/ASP.NET release cannot seem to co-exist with the latest Winforms release if charting is used.
With the Winforms, ASP.Net, Reporting and Prometheus controls all installed on my PC, both 126.96.36.199 and 188.8.131.52 versions of Telerik.Charting are installed (184.108.40.206 via the Winforms installer). If I then create a brand new Ajax website project with a single page and then drop a Prometheus chart onto that page, I get the error described despite the fact that there are no references to 220.127.116.11 anywhere in that project. Although the page will build and display properly, the code behind and page source both highlight the error and if I try to reference the chart control in code by typeing Me.Radchart1, intellisense states:
|Protected Dim WithEvents RadChart as <unrecognized type>|
and I cannot then refer to the chart object at all in code.
What I am saying is that to avoid this error, Winforms needs to be built against Charting 18.104.22.168 and not 22.214.171.124 so that only the most recent version of Telerik.Charting is installed (as both versions have the same
public key token).
Can you tell us what references does adding the prometheus chart to the website adds in your web.config file? When a web control references a specific version of an assembly it should add the appropriate version in the web.config reference.
the Telerik team
|<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>|
|<%@ Register Assembly="Telerik.Charting, Version=126.96.36.199, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763"|
|Namespace="Telerik.Charting" TagPrefix="telerik" %>|
and this to web.config:
|<add assembly="Telerik.Charting, Version=188.8.131.52, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763"/>|
|<add assembly="System.Design, Version=184.108.40.206, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>|
As you can see, the correct references are added but the described error is still present.
We have been doing a lot of testing locally and were unable to reproduce what you are describing. If you are using a website the only two places from which you can reference a wrong version of Telerik.Charting.dll is the web.config file and if you have placed it in the local bin folder. If you have a web application project then you can check the .csproj file with a text editor and see if there is a wrong reference somewhere. This is all we can suggest at this point of time as we really are unable to understand what is causing the issue on your end nor how to reproduce it.
the Telerik team
Incidentally, I have the same issue on my laptop as well, so this is not just one isolated case.
I am using the lastest version of both Telerik Reporting (2.0.10) and Prometheus (2007.3.1314.20) and whilst the solution builds ok I lose all intellisense on pages which use the RadChart. On the ASPX page the top line is underlined with the following error:
Indirect reference is being made to assembly Telerik.Charting version 220.127.116.11, which contains 'Telerik.Web.UI.RadChart'. This Project references a prior version of Telerik.Charting version 18.104.22.168. To use 'Telerik.Web.UI.RadChart', you must replace the reference to Telerik.Charting with version 22.214.171.124 or higher.
Like Jonathon when I add a chart to a page it also adds:
<%@ Register Assembly="Telerik.Charting, Version=126.96.36.199, ....
To the top of the ASPX page as well as a reference in the web.config file. There appears to me that there are no other references in the entire project to Telerik.Charting version 1.0.30.
Any further thoughts on this one?
We recently fixed a problem with intellisense being lost when Telerik.Charting library is registered on a page. Those problems were only visible in VisualStudio 2008 though. Are you by any chance speaking about the same thing or is the issue you are describing a different one?
the Telerik team
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies
This resolved the issue.
My thoughts are that the automatic installer did not remove an old versions of the Telerik.Charting dll from the GAC, hense the reason why I was getting Intellisense issues with the new version.
btw: The issue for was occuring within VS 2005 Professional (so .NET 2.0), running the latest version Prometheus and the latest version of Telerik Reporting.