This is a migrated thread and some comments may be shown as answers.

'ChartSeriesType' is ambiguous in the namespace 'Telerik.Charting'

1 Answer 145 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Priya
Top achievements
Rank 1
Priya asked on 21 Nov 2011, 08:52 PM
Hi, 
I am getting the error 'ChartSeriesType' is ambiguous in the namespace 'Telerik.Charting'. I have Telerik.Web.UI dll in my bin folder. 
Here is the code

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

<asp:Content ID="Content1" ContentPlaceHolderID="phCon1" Runat="Server">
<table><tr><td><asp:Label ID="lblMessage" Visible="false" runat="server" /></td></tr></table>
    <table>
        <tr>
        <td>From :
        <telerik:RadDatePicker ID="DateTextCalendar1" runat="server"></telerik:RadDatePicker></td>
        <td>To :<telerik:RadDatePicker ID="DateTextCalendar2" runat="server"></telerik:RadDatePicker>
</td>
        <td><asp:Button runat="server" ID="btnSubmit" Text="Apply" /></td>
    </tr>
    </table>
  <asp:PlaceHolder ID="phTestDash" Visible="true" runat="server">
        
      <telerik:RadChart ID="RadChart1" DataSourceID="SqlDataSource1" runat="server" Skin="Vista"
                        Width="465px" Height="260px" DefaultType="Line" 
                        AutoLayout="true" AutoTextWrap="true" CreateImageMap="false"  >
                        <ChartTitle>
                            <TextBlock Text="Test">
                            </TextBlock>
                          </ChartTitle>
                        <Series>
                            <telerik:ChartSeries Name="Actions" Type="Line" DataYColumn="iActions">
                                <Appearance LegendDisplayMode="ItemLabels">
                                </Appearance>
                            </telerik:ChartSeries>
                        </Series>
                        </telerik:RadChart>
  </asp:PlaceHolder>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Test %>" ProviderName="System.Data.SqlClient" 
        SelectCommandType="StoredProcedure" SelectCommand="Test_GET">
        <SelectParameters>
            <asp:Parameter Name="TestID" DbType="Guid" />
            <asp:Parameter Name="iTestStartDateID" Type="Int32" />
            <asp:Parameter Name="iTestEndDateID" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>
</asp:content>

And the code behind is

Imports Telerik.Web.UI
Protected Sub LoadGraph()
             Try
                    dt = function(test)

                If dt Is Nothing Or dt.Rows.Count <= 0 Then
                    ShowMessage("No Data Available", False)
                    phTestDash.Visible = False
                    Exit Sub
                End If

            Catch ex As Exception
                ShowMessage(ex.Message, True)
            End Try
        End Sub


I went thru the forum and removed the reference from the corresponding dll. We are your customer and we need a solution for it to go forward.







1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 24 Nov 2011, 02:51 PM
Hi Priya,

This might happen if you still have a reference to Telerik.Charting.dll. It is now merged into Telerik.Web.UI.dll, so you need to make sure it is not referenced anywhere in your project.

Best regards,
Ves
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Chart (Obsolete)
Asked by
Priya
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or