hi,

this is my first post in this forum...
i have an ASP.NET project in school, and i need some help with the sitemaps

this is my folder, i upload it here

my problem is that the on the side menu, i get Home, Products, Services, and Shopping Cart.

but what i need (and i tried to do it so many times, but didn`t work)--> i am trying to have a sub- category..

For example: instead of saying:
HOME
PRODUCTS
SERVICES
SHOPPING CART
i want this structure:
HOME
PRODUCTS
PRODUCT1
PRODUCT2
SEVICES
SERVICE1
SERVICE2
SHOPPING CART

so i am trying to create sub- categories

my siteMap seems ok, but i don`t seem to get what i need
:rolleyes:

i appreciate any help

thanks

any one knows?
:sad:

anybody???????

Try this and see if this solves your problem.

<?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="Site Home Page">
<siteMapNode url="~/Products/productLists.aspx" title="Products" description="Show All Major Categories" />


<siteMapNode roles="" url="~/Products/MusicalInstruments/musicalInstruments.aspx" title="Musical Instruments" description="Show 1st Product Category" />
<siteMapNode url="~/Products/MusicListing/musiclistings.aspx" title="Music Listing" description="Show 2nd Product Category" />
<siteMapNode url="~/Products/Books/books.aspx" title="Books" description="Show 3rd Product Category" />
<siteMapNode url="~/Products/History/history.aspx" title="History" description="Show 4th Product Category" />
<siteMapNode url="~/Products/Videos/videos.aspx" title="Videos" description="Show 5th Product Category" />

<siteMapNode url="~/Services/serviceLists.aspx" title="Services" description="" />
<siteMapNode url="~/Serivces/BestSellers/bestsellers.aspx" title="Best Sellers" description="Show 6th Product Category"/>
<siteMapNode url="~/Services/Events/events.aspx" title="Events" description="Show 7th Product Category" />
<siteMapNode url="~/Servicecs/Specials/specials.aspx" title="Specials" description="Show 8th Product Category" />
<siteMapNode url="~/Services/StoreHours/storeHours.aspx" title="Store Hours" description="Show 9th Product Category" />

<siteMapNode url="~/ShoppingCart/shoppingCart.aspx" title="Shopping Cart" description="Show 10th Product Category" >
</siteMapNode>
</siteMapNode>


</siteMap>

Try this and see if this solves your problem.

<?xmlversion="1.0"encoding="utf-8" ?>
<siteMapxmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNodeurl="~/Default.aspx"title="Home"description="Site Home Page">
<siteMapNodeurl="~/Products/productLists.aspx"title="Products"description="Show All Major Categories" />


<siteMapNoderoles=""url="~/Products/MusicalInstruments/musicalInstruments.aspx"title="Musical Instruments"description="Show 1st Product Category" />
<siteMapNodeurl="~/Products/MusicListing/musiclistings.aspx"title="Music Listing"description="Show 2nd Product Category" />
<siteMapNodeurl="~/Products/Books/books.aspx"title="Books"description="Show 3rd Product Category" />
<siteMapNodeurl="~/Products/History/history.aspx"title="History"description="Show 4th Product Category" />
<siteMapNodeurl="~/Products/Videos/videos.aspx"title="Videos"description="Show 5th Product Category" />

<siteMapNodeurl="~/Services/serviceLists.aspx"title="Services"description="" />
<siteMapNodeurl="~/Serivces/BestSellers/bestsellers.aspx"title="Best Sellers"description="Show 6th Product Category"/>
<siteMapNodeurl="~/Services/Events/events.aspx"title="Events"description="Show 7th Product Category" />
<siteMapNodeurl="~/Servicecs/Specials/specials.aspx"title="Specials"description="Show 8th Product Category" />
<siteMapNodeurl="~/Services/StoreHours/storeHours.aspx"title="Store Hours"description="Show 9th Product Category" />

<siteMapNodeurl="~/ShoppingCart/shoppingCart.aspx"title="Shopping Cart"description="Show 10th Product Category" >
</siteMapNode>
</siteMapNode>


</siteMap>

thanks man for trying
yours didn`t work
but i made it work

anyways thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.