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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to setup Tree View Hierarchy 2

Status
Not open for further replies.

lucidtrader

IS-IT--Management
Jun 9, 2005
12
GB
Hi,
I have a master page with content pages.
Also have the web.sitemap file with acouple of pages.

Everything is working perfectly.
I have a tree view in my left column but i dont seem to be able to setup any hierarchy.

i have the following

Home
admin
contact
products
prod1
prod2
prod3

I want the following

Home
admin
contact
Products
Prod1
Prod2
Prod3

I am sure this is an easy one but i dont seem to get it right.

Any help would be appreciated.

Thanks
 
Hi,

Thanks for your help, i had to fish through everything you gave me and finally got to the answer.
 
I assume the answer that you found was to simply nest the siteMapNodes in the Web.sitemap file? e.g
Code:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="[URL unfurl="true"]http://schemas.microsoft.com/AspNet/SiteMap-File-1.0"[/URL] >
  <siteMapNode url="default.aspx" title="Home"  description="Home">
    <siteMapNode url="page1.aspx" title="Page 1"  description="Page 1" />
  </siteMapNode>
</siteMap>


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.
 
ca8msm,

Thanks a million, thats exatly what i was looking for.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top