More in this section

Forums / Bugs & Issues / Could not resolve type for tag "sf:sitefinityhyperlink". Make sure the proper namespace is registered.

Could not resolve type for tag "sf:sitefinityhyperlink". Make sure the proper namespace is registered.

2 posts, 0 answered
  1. Scott Bradley
    Scott Bradley avatar
    27 posts
    20 Jan 2010
    25 Apr 2011
    Link to this post
    I get the following error on the custom template below.  I originally was using an <asp:hyperlink> control and was getting a similar error.  It's intermittent to boot.  Go to love that.  Any ideas?  Do I have bad html in here somewhere I can't see?

    Could not resolve type for tag "sf:sitefinityhyperlink". Make sure the proper namespace is registered.

    <%@ Control Language="C#" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.ContentUI" Assembly="Telerik.Sitefinity" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.Comments" Assembly="Telerik.Sitefinity" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI" Assembly="Telerik.Sitefinity" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.PublicControls.BrowseAndEdit" Assembly="Telerik.Sitefinity" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <telerik:RadListView ID="eventsList" ItemPlaceholderID="ItemsContainer" runat="server" EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false">
            <sf:ContentBrowseAndEditToolbar ID="MainBrowseAndEditToolbar" runat="server" Mode="Add"></sf:ContentBrowseAndEditToolbar>
    <div  id="upcomingEventsHeader">
                 <sf:sitefinityhyperlink id="lnkTitle" runat="server" navigateurl="~/home/events" cssclass="title" />
    <div id="upcomingEventsWrapper">
        <div id="upcomingEventsInnerWrapper">
                <asp:PlaceHolder ID="ItemsContainer" runat="server" />
            <div class="viewAll">
                 <sf:sitefinityhyperlink id="lnkAll" runat="server" navigateurl="~/home/events" text="View all events ->" />
                    <sf:DetailsViewHyperLink TextDataField="Title" ToolTipDataField="Description" runat="server" /><sf:ContentBrowseAndEditToolbar ID="BrowseAndEditToolbar" runat="server" Mode="Edit,Delete,Unpublish"></sf:ContentBrowseAndEditToolbar>
    <sf:Pager id="pager" runat="server"></sf:Pager>
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    26 Apr 2011
    Link to this post
    Hello Scott,

    I am not able to replicate this issue with your template on Sitefinity 4.1. I just copy/paste it and the link is showing correctly. The error says that the namespace is not correct, but the control is defined under Telerik.Sitefinity.Web.UI. Try to edit an existing template and inject the link in it to see if this will make a difference.

    Ivan Dimitrov
    the Telerik team

2 posts, 0 answered