I am hosting a user control in a web part that is using the RadComboBox control. When I add the control to the user control I get the following message:
Error Message: "The base class includes the field 'cmd', but its type (Telerik.Web.UI.RadComboBox) is not compatible with the type of control (Telerik.Web.UI.RadComboBox). "
User Control aspx
<%@ Assembly Name="Mcps.OnlineCurriculum.UserControls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=608131910b746488" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UnitSelectorControl.ascx.cs"
Inherits="Mcps.OnlineCurriculum.UserControls.UnitSelectorControl" %>
<%@ Register Assembly="Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadComboBox ID="cmd" runat="server" />
Any help would be great.
Error Message: "The base class includes the field 'cmd', but its type (Telerik.Web.UI.RadComboBox) is not compatible with the type of control (Telerik.Web.UI.RadComboBox). "
User Control aspx
<%@ Assembly Name="Mcps.OnlineCurriculum.UserControls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=608131910b746488" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UnitSelectorControl.ascx.cs"
Inherits="Mcps.OnlineCurriculum.UserControls.UnitSelectorControl" %>
<%@ Register Assembly="Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadComboBox ID="cmd" runat="server" />
Any help would be great.