therookie32
Member
- Joined
- Jan 31, 2006
- Messages
- 5
- Programming Experience
- Beginner
How do i define which webpages can be rolled up or appear under other pages in the treeview navigation? I want to have the first two pages be under default and the second two be under Admin...
My web.sitemap code:
My folder structure:
default.aspx
tbe_jobmanagerhome.aspx
tbe_project.aspx
page2.aspx
page3.aspx
They are all on the same level in the project but shouldnt i be able to say which ones i want grouped with the other? Do i need to set a property somewhere? Thanks! Right now i get an error which says i have an invalid child element in my sitemap namespace at the admin.aspx node.
Do you need to see other code to solve this?
My web.sitemap code:
VB.NET:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="Default.aspx" title="Home" description="">
<siteMapNode url="tbe_JobManagerHome.aspx" title="Job Manager" description="" />
<siteMapNode url="tbe_Project.aspx" title="Project Page" description="" />
</siteMapNode>
<siteMapNode url="Admin.aspx" title="Home" description="">
<siteMapNode url="page2.aspx" title="page2Title" description="" />
<siteMapNode url="page3.aspx" title="page3Title" description="" />
</siteMapNode>
</siteMap>
My folder structure:
default.aspx
tbe_jobmanagerhome.aspx
tbe_project.aspx
page2.aspx
page3.aspx
They are all on the same level in the project but shouldnt i be able to say which ones i want grouped with the other? Do i need to set a property somewhere? Thanks! Right now i get an error which says i have an invalid child element in my sitemap namespace at the admin.aspx node.
Do you need to see other code to solve this?