This is a migrated thread and some comments may be shown as answers.

Show only top level

1 Answer 25 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 03 Oct 2012, 05:54 AM
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

1 Answer, 1 is accepted

Sort by
0
Peter
Top achievements
Rank 1
answered on 03 Oct 2012, 10:52 PM
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;
        }

Tags
TabStrip
Asked by
Peter
Top achievements
Rank 1
Answers by
Peter
Top achievements
Rank 1
Share this question
or