XML Menu Control

V

vncntj

Hello all,
I don't know if the Subject really hints at my question, but I'd like
to create an XML (sitemap) ile like so.

<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0"
enableLocalization="true" >
<siteMapNode title="Menu" url="~/Menu.aspx">
<siteMapNode title="A" url="~/A.aspx">
<siteMapNode title="B" url="~/B.aspx">
<siteMapNode title="C" url="~/C.aspx">
<siteMapNode title="D" url="~/D.aspx">
<siteMapNode title="E" url="~/E.aspx" />
</siteMapNode>
</siteMapNode>
</siteMapNode>
</siteMapNode>
</siteMapNode>
</siteMap>

Where when i user is located at the top root of the site they see

Menu
-A
--B

But when they are located B.aspx
they see B.aspx as top listed Menu option like:

B
-C
--D

This allows me to map one huge xml file but not have (C,D,E) listed
when a person is at the top root of the site.
thanks? Is this more so a programming question?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top