Wednesday, March 4, 2009

DNN 5 - Get All tabs


TabController controller = new TabController();
TabCollection tabs = controller.GetTabsByPortal(0);
IDictionaryEnumerator hs = tabs.GetEnumerator();
while (hs.MoveNext())
{
TabInfo tab = (TabInfo)hs.Entry.Value;
Response.Write(tab.TabName + "<br/>");
}

1 comment:

  1. Need a javascript/php script to get all the other tab information in any browser. For example when we will run our script it will return all the url of other tab information.

    Please help me....

    ReplyDelete

Please add your valuable comments about this post if it helped you. Thanks