Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Tree View Menu

  Asked By: Anushka    Date: Jun 08    Category: Sharepoint    Views: 2096

I am using Sharepoint Designer to create a dynamic Tree View Navigation.
I am using the ASP.Net Tree view that ships with Designer Tool. Every things
works fine. The only thing I am stuck with is the tree view is not showing
the navigation of the Current Context. It always show the Top Site

How to get the get the Context Navigation. I have a site collection of 20
sites. Any help. Here is the code snippet.

<asp:TreeView runat="server" id="TreeView1"
DataSourceID="SiteMapDataSource2" BackColor="#D2D9FE" BorderColor="White"
BorderStyle="None" CssClass="ConnectionConfigureInactiveTab"
MaxDataBindDepth="3" ExpandDepth="1">
<ParentNodeStyle ForeColor="Black" Font-Bold="False" />
<HoverNodeStyle CssClass="hierarchy-node-partialcheck" />
<NodeStyle ForeColor="Black" />
<asp:treenodebinding DataMember="SiteMapNode" NavigateUrlField="Url"
Depth="1" TextField="Title" />



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Tree View Menu Or get search suggestion and latest updates.