A
active
I've been reading the help but find much on programmiccally doing it but
nothing on using XML.
I have the following from an example and want to add a top menu item
"History" and two menu items under that: History1 and History2. The top menu
item should not open a page - simply show the two sub menu items. I know
what I have is not right. I don't think I should even have a Top.aspx file.
But I have no idea how to fix it.
Can you help?
<?xml version="1.0" encoding="utf-8" ?>
<siteMap>
<siteMapNode title="Home" url="Default.aspx">
<siteMapNode title=" History" url="History/Top.aspx" />
<siteMapNode title="History1" url="History/His 1.aspx" />
</siteMapNode>
<siteMapNode title="History2" url="History/His 2.aspx" />
</siteMapNode>
How to fix the above??
<siteMapNode title="Links" url="Links.aspx" />
<siteMapNode title="Albums" url="Albums.aspx" >
<siteMapNode title="Photos" url="Photos.aspx" >
<siteMapNode title="Details" url="Details.aspx" />
</siteMapNode>
</siteMapNode>
<siteMapNode title="Register" url="Register.aspx" />
<siteMapNode title="Login" url="Login.aspx" />
<siteMapNode title="Manage" url="Admin/Albums.aspx" >
<siteMapNode title="Photos" url="Admin/Photos.aspx" >
<siteMapNode title="Details" url="Admin/Details.aspx" />
</siteMapNode>
</siteMapNode>
</siteMapNode>
</siteMap>
nothing on using XML.
I have the following from an example and want to add a top menu item
"History" and two menu items under that: History1 and History2. The top menu
item should not open a page - simply show the two sub menu items. I know
what I have is not right. I don't think I should even have a Top.aspx file.
But I have no idea how to fix it.
Can you help?
<?xml version="1.0" encoding="utf-8" ?>
<siteMap>
<siteMapNode title="Home" url="Default.aspx">
<siteMapNode title=" History" url="History/Top.aspx" />
<siteMapNode title="History1" url="History/His 1.aspx" />
</siteMapNode>
<siteMapNode title="History2" url="History/His 2.aspx" />
</siteMapNode>
How to fix the above??
<siteMapNode title="Links" url="Links.aspx" />
<siteMapNode title="Albums" url="Albums.aspx" >
<siteMapNode title="Photos" url="Photos.aspx" >
<siteMapNode title="Details" url="Details.aspx" />
</siteMapNode>
</siteMapNode>
<siteMapNode title="Register" url="Register.aspx" />
<siteMapNode title="Login" url="Login.aspx" />
<siteMapNode title="Manage" url="Admin/Albums.aspx" >
<siteMapNode title="Photos" url="Admin/Photos.aspx" >
<siteMapNode title="Details" url="Admin/Details.aspx" />
</siteMapNode>
</siteMapNode>
</siteMapNode>
</siteMap>