tip: using hierarchical instead of flyout menus

Topics: User Forum
Mar 7, 2007 at 3:14 PM
Hi folks,
simple tip i want to share , if you want to replace the sidebar menu with hierarchical menu , go to you skin file and replace the menu control with treeview control and assign it to the same SiteMapDataSource .

+example +

<asp:SiteMapDataSource runat="server" ID="menuDataSource" ShowStartingNode="false" />
<!--tree menu -->
</div>
<div id="TreeNavigation">
<asp:TreeView ID="treeView1" ImageSet="BulletedList" runat="server" DataSourceID="menuDataSource">
</asp:TreeView>
</div>