Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Navigation only showing on 1 page

Status
Not open for further replies.

dranium

Technical User
Mar 9, 2009
15
0
0
CA
I am using the following code to display my navigation. It reads the pages from my Global Navigation but only on the main page. When I click on a menu item (Pages/test.aspx) my menu items disappears. Is there anything I can modify in my code to prevent this? Here is the code...

<asp:Menu ID="Menu1"
runat="server"
Orientation="Horizontal"
CssSelectorClass="SimpleEntertainmentMenu"
EnableViewState="false"
UseEmbeddedScripts="false"
DataSourceID="SiteMapDataSource1">
</asp:Menu>

<asp:SiteMapDataSource ID="siteMapDataSource1" Runat="server"
SiteMapProvider="CombinedNavSiteMapProvider" EnableViewState="true"
StartFromCurrentNode="true" StartingNodeOffset="0" ShowStartingNode="false"/>
 
Where is the code running?

--

"If to err is human, then I must be some kind of human!" -Me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top