Hi Joel,
To achieve the required functionality, you need to configure SiteTabstrip control as follows:
1. Drag and drop Site Tabstrip on the page/template.
2. Click Edit to open Site Tabstrip Property window.
3. Expand the Navigation section and set ShowOnlyFirstLevel property to false.
4. Expand section Behavior and type 0 for HideLevel property.
5. Click I'm done button to save changes.
For more information, please have a look at the attached screenshot.
Another possible approach is to modify the user control (~/Sitefinity/UserControls/Navigation/SiteTabstrip.ascx) and implement a custom data source to bind the tabstrip:
.ascx
| <%@ Control Language="C#" AutoEventWireup="true" CodeFile="SiteTabstrip.ascx.cs" Inherits="UserControls_SiteMapNavigationControls_SitemapTabstrip" %> |
| <%@ Register Assembly="RadTabstrip.Net2" Namespace="Telerik.WebControls" TagPrefix="radTS" %> |
| <div> |
| <radTS:RadTabStrip ID="RadTabstrip1" runat="server" EnableViewState="false"> |
| </radTS:RadTabStrip> |
| </div> |
.ascx.cs
| using Telerik; |
| using Telerik.Cms; |
| using Telerik.Cms.Web; |
| using Telerik.Cms.Web.UI; |
| using Telerik.WebControls; |
| using Telerik.Web; |
| using System.Collections.Generic; |
| |
| public partial class UserControls_SiteMapNavigationControls_SitemapTabstrip : UserControl |
| |
| /// <summary> |
| /// Overriden. Used to populate the tab strip with pages data. |
| /// </summary> |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| foreach (SiteMapNode node in SiteMap.RootNode.GetAllNodes()) |
| { |
| if (node.Title == "Auxillary") |
| { |
| IList<SiteMapNode> list = new List<SiteMapNode>(); |
| foreach (SiteMapNode node1 in node.ChildNodes) |
| { |
| list.Add(node1); |
| } |
| |
| RadTabstrip1.DataSource = list; |
| RadTabstrip1.DataTextField = "Title"; |
| RadTabstrip1.DataNavigateUrlField = "Url"; |
| RadTabstrip1.DataBind(); |
| } |
| } |
| } |
Hope this helps.
Regards,
Pepi
the Telerik team