More in this section

Selected Tab

2 posts, 0 answered
  1. Shane
    Shane avatar
    11 posts
    Registered:
    24 Aug 2007
    15 Oct 2008
    Link to this post
    Is there a way to keep the selected tab a link so the user can click it again even when it's selected.  The problem is when you are using Blogs or News and the tab stays selected but the page changes to another URL.  I want to click the selected tab to go back to the main Blog or News page.

    I am using that Sitefinity naviagation tabstrip.  Ver 3.2

    Thanks for your help,
    Shane
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    15 Oct 2008
    Link to this post
    Hi Shane,

    To achieve the required functionality you need to remove or comment the following code in the SiteTabstrip user control:

    ~/Sitefinity/UserControls/Navigation/SiteTabstrip.ascx.cs
    Tab item = this.RadTabstrip1.FindTabByUrl(this.ResolveUrl(node2.Url)); 
    if (item != null
        // here you can set the style for the top-level item    
        item.Selected = true

    Do let us know if this helps.

    Regards,
    Pepi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered