Where did SiteMenu.ascx go? - Upgrading Sitefinity - Upgrading Sitefinity - Progress Community
 Upgrading Sitefinity

Where did SiteMenu.ascx go?

  • Where did SiteMenu.ascx go?
  • 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!
  • 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!
  • Thanks! That did it. I knew it had to be somewhere, but I was having difficulty locating it.

    Thanks again!