Type or namespace name 'Cms' does not exist in the namespace 'Telerik' - while using Telerik.Cms.Web.UI
Hi,
I was trying to customize the breadcrumb using the following code. Here i am trying to register Telerik.Cms.Web.UI. But when i build the application i get the error
"Error9 : The type or namespace name 'Cms' does not exist in the namespace 'Telerik' (are you missing an assembly reference?)"
<%@ Register TagPrefix="sfweb" Namespace="Telerik.Cms.Web.UI" Assembly="Telerik.Cms.Web.UI" %>
<asp:HyperLink ID="lnkHome" runat="server" NavigateUrl="/home" Text="Home" />
<sfweb:Breadcrumb ID="bCrumb" runat="server" PathSeparator="/"/>
I cant find this dll in my bin also. I am using Sitefinity 8.0
Why is this dll missing or am i trying to do something that is wrong or doesnt exist in sitefinity 8.0
Anju,
If I remember correctly, Telerik.Cms is from a super old version. In 4.0+, things have moved (It was a complete rewrite).
Hello,
The HostType of the Breadcrumb widget that we use in Sitefinity 8.x version is the following:
Telerik.Sitefinity.Web.UI.NavigationControls.Breadcrumb.Breadcrumb, Telerik.Sitefinity
You can reference the built - in widget in your aspx page as long as the Sitefinity assemblies are in the project's bin folder. Also you will have to include the following declaration:
<%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.NavigationControls.Breadcrumb" Assembly="Telerik.Sitefinity" %>
Thanks Tim and Stefani for the response. Telerik.Sitefinity.Web.UI.NavigationControls.Breadcrumb worked.