How to add navigation widget to master page

Posted by Community Admin on 03-Aug-2018 19:26

How to add navigation widget to master page

All Replies

Posted by Community Admin on 21-Mar-2012 00:00

I can't find any documentation on how to add widgets, in my case the navigation control, to a master page. I cannot add a contentplaceholder and use the CMS because the markup resides in a user control that I have on multiple master pages. So I need a way to add it manually to the user control.

Can someone please help? 

Posted by Community Admin on 21-Mar-2012 00:00

Are you trying to add a control to a file in your solution?

this can be done, you just have to add the namespace for the navigation to your control:

<%@ Register Namespace="Telerik.Sitefinity.Web.UI.NavigationControls" Assembly="Telerik.Sitefinity" TagPrefix="sf" %>

then you can reference any controls in that namespace in your control:

<sf:SiteMenu ID="Menu" runat="server" Skin="Sitefinity" />

hope this is helpful!

Posted by Community Admin on 21-Mar-2012 00:00

Thanks for the reply.

Ahh. I was trying to use RadSiteMap but couldn't figure out the proper datasource so I started messing around with sitemap module to bind it to... turned into a big pain.


Thanks. 

This thread is closed