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

Forums / 3.x Pre-release forums (retired) / Site Navigation Example

Site Navigation Example

5 posts, 0 answered
  1. Telerik Admin
    Telerik Admin avatar
    188 posts
    Registered:
    02 Oct 2004
    26 Jan 2007
    Link to this post

    Hi all,

    Since a lot of people are asking how to implement site navigation for more advanced scenarios, I created a sample project. It demonstrates a pretty common scenario where root pages are shown at the top and child pages of the current page are shown on the side. For the purpose I created two User Controls (HeaderNavigation.ascx and SideNavigation.ascx) located in the UserControls folder. Note these controls are added to the Template “Header, footer, content, sidebar” and not to the master page file.

    Click here to download this solution:

    http://www.sitefinity.com/sf3/SiteNavigationExample.zip

  2. Ben Alexandra
    Ben Alexandra avatar
    215 posts
    Registered:
    15 Sep 2012
    26 Jan 2007
    Link to this post
    Hi,

    Thanks, that's great, and exactly what I needed to do.  I have a follow up question, however:

    I'd like to be able to have people click on the selected tab at the top in order to be able to get back to root of that node.  Once a tab is selected, though, it's not a link any more.  It shows the link where it would go in the status bar, but it's not active.  I tried setting it with code:

        RadTabStrip1.SelectedTab.NavigateUrl = smn1.Url;

    but that didn't do anything.  Any ideas of how to do this?

    Thanks

    Ben

  3. Hrisi
    Hrisi avatar
    34 posts
    Registered:
    02 Dec 2016
    29 Jan 2007
    Link to this post
    Hello Ben,

    You can set the r.a.d.tabstrip property

    ClickSelectedTab="True"

    in design mode or declaratively in HeaderNavigation.ascx user control definition.


    Sincerely yours,
    Hrisi
    the telerik team
  4. Ben Alexandra
    Ben Alexandra avatar
    215 posts
    Registered:
    15 Sep 2012
    29 Jan 2007
    Link to this post
    Perfect!  Thanks
  5. Ahmed Salman
    Ahmed Salman avatar
    31 posts
    Registered:
    13 Apr 2010
    07 Aug 2012
    Link to this post

    Hi,
         i face one issue if the page is not publish or not show it in the navigator still i am able to see it in my page navigator how i can resolve this issue.

     

     

Register for webinar
5 posts, 0 answered