+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Type or namespace name 'Cms' does not exist in the namespace 'Telerik' - while using Telerik.Cms.Web.UI

Type or namespace name 'Cms' does not exist in the namespace 'Telerik' - while using Telerik.Cms.Web.UI

4 posts, 0 answered
  1. Anju
    Anju avatar
    19 posts
    Registered:
    22 Jul 2014
    29 Sep 2015
    Link to this post

     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

  2. Tim
    Tim avatar
    258 posts
    Registered:
    22 Jun 2011
    30 Sep 2015 in reply to Anju
    Link to this post

    Anju,

    If I remember correctly, Telerik.Cms is from a super old version. In 4.0+, things have moved (It was a complete rewrite).

  3. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    Registered:
    06 Dec 2016
    01 Oct 2015
    Link to this post
    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" %>

    Regards,
    Stefani Tacheva
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  4. Anju
    Anju avatar
    19 posts
    Registered:
    22 Jul 2014
    05 Oct 2015
    Link to this post
    Thanks Tim and Stefani for the response. Telerik.Sitefinity.Web.UI.NavigationControls.Breadcrumb worked. 
4 posts, 0 answered