More in this section

Forums / General Discussions / How to add navigation widget to master page

How to add navigation widget to master page

3 posts, 1 answered
  1. Jeff
    Jeff avatar
    118 posts
    Registered:
    08 Jul 2011
    21 Mar 2012
    Link to this post
    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? 
  2. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    21 Mar 2012
    Link to this post
    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!
    Answered
  3. Jeff
    Jeff avatar
    118 posts
    Registered:
    08 Jul 2011
    21 Mar 2012
    Link to this post
    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. 
3 posts, 1 answered