Show only top level

2 posts, 0 answers
  1. Peter
    Peter avatar
    12 posts
    Member since:
    Nov 2008

    Posted 03 Oct 2012 Link to this post

    Hi,
    I got a tab strip for top level navigation bind to sitemap. Would like to show only level 1.

    The other levels are controled by treeview.

    I understand I can use the MaxDataBindDepth property, however I need to bind all the nodes so the tab will keep selected after postback on sub levels.

    Anyone can help?
    Thanks,
    Peter
  2. Peter
    Peter avatar
    12 posts
    Member since:
    Nov 2008

    Posted 03 Oct 2012 Link to this post

    Never mind, sort it out by overriding the style

            .RadTabStrip .rtsLevel2
            {
                display:none;
            }
            .RadTabStrip .rtsLevel3
            {
                display:none;
            }
            .RadTabStrip .rtsLevel4
            {
                display:none;
            }
            .RadTabStrip .rtsLevel5
            {
                display:none;
            }

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top