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

Where did SiteMenu.ascx go?

3 posts, 1 answered
  1. Jason
    Jason avatar
    3 posts
    Registered:
    29 Oct 2010
    12 Dec 2011
    Link to this post
    I am attempting to migrate a custom control from 3.7 to 4.3, and currently I am embedding the sitemenu control:

    <%@ Register Src="~/Sitefinity/UserControls/Navigation35/SiteMenu.ascx" TagName="SiteMenu" TagPrefix="sf" %>



    Obviously this doesn't work in 4.3, but I am not sure on what the correct way to do this in 4.3 is. I can only assume that this site menu control still exists, but I am not sure where it's been moved to.

    Any help would be greatly appreciated.

    Thanks!
  2. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    12 Dec 2011
    Link to this post
    The Sitefinity 4 SiteMenu control is no longer an ASP.NEt user control but is instead a compiled control in the Telerik.Sitefinity.Web.UI.NavigationControls namespace.

    You could register that control, however and reference it on your control:

    <%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI.NavigationControls" TagPrefix="sf" %>
    <sf:SiteMenu ID="SiteMenu1" runat="server" />

    I hope this is helpful!
    Answered
  3. Jason
    Jason avatar
    3 posts
    Registered:
    29 Oct 2010
    12 Dec 2011
    Link to this post
    Thanks! That did it. I knew it had to be somewhere, but I was having difficulty locating it.

    Thanks again!
3 posts, 1 answered