Could not resolve type for tag "sf:sitefinityhyperlink&

Posted by Community Admin on 04-Aug-2018 15:33

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

All Replies

Posted by Community Admin on 25-Apr-2011 00:00

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>

Posted by Community Admin on 26-Apr-2011 00:00

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

This thread is closed