Where did SiteMenu.ascx go?

Posted by Community Admin on 05-Aug-2018 20:51

Where did SiteMenu.ascx go?

All Replies

Posted by Community Admin on 12-Dec-2011 00:00

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!

Posted by Community Admin on 12-Dec-2011 00:00

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!

Posted by Community Admin on 12-Dec-2011 00:00

Thanks! That did it. I knew it had to be somewhere, but I was having difficulty locating it.

Thanks again!

This thread is closed