/ Published in: C#

this handy function gets all child tabs for the tab id you pass in, only those that are meant to appear in the menu.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public List<DotNetNuke.Entities.Tabs.TabInfo> getChildTabs(int parId) { List<DotNetNuke.Entities.Tabs.TabInfo> tabs = TabController.GetTabsByParent(parId, 0).FindAll( delegate(DotNetNuke.Entities.Tabs.TabInfo tab) { return tab.IsVisible && !tab.IsDeleted; } ); return tabs; }
Comments
