Created
February 2, 2011 02:19
-
-
Save irobinson/807131 to your computer and use it in GitHub Desktop.
Displays a hierarchical (indented) rendering of parent/child page list in DotNetNuke.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<asp:DropDownList runat="server" ID="PagesList" /> | |
this.PagesList.DataSource = TabController.GetPortalTabs(this.PortalId, -1, true, Localization.GetString("DefaultPagesListItem.Text", this.LocalResourceFile), true, false, false, true, true); | |
this.PagesList.DataValueField = "TabID"; | |
this.PagesList.DataTextField = "IndentedTabName"; | |
this.PagesList.DataBind(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment