sitemap in asp.net

i want site map
like
    *     About us
          o About Us
          o  Quality
          o Why Choose us
          o Refer A Friend
          o Awards
          o In The News
    * Services
          o  Advantage
          o Services
          o Free Shipping
          o Gift Packaging
          o Special Orders
    * Policies
          o Shipping Policy
          o Return Policy
          o Privacy Policy
          o Terms & Conditions
          o Security
          o Shipping Information
          o Ethical Sourcing
    * Contact Us
          o Contact
          o Gift Certificate Status
          o Subscription Status
    * Affiliates
          o Affiliate Program
          o Affiliate Rewards
    * Careers
          o Employment
          o Benefits
          o Testimonials
    * Financing & Insurance
          o Financing Overview
          o Insurance
          o Bill Me Later
LVL 5
chandresh43Asked:
Who is Participating?
 
Todd GerbertConnect With a Mentor IT ConsultantCommented:
I think you want something like below.

Take notice of how the tags are closed, and some are nested within others.

You'll also want to set ShowStartingNode = False on the SiteMap Data Source.
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
  <siteMapNode>
    <siteMapNode  title="About Shivdiamonds">
      <siteMapNode url="~/AboutUs.aspx"  title="About_us"  />
      <siteMapNode url="~/AbouUs.aspx" title="About_us" />
      <siteMapNode url="~/AbtUs.aspx" title="About_us" />
    </siteMapNode>
    <siteMapNode url="~/tUs.aspx" title="About_us" />
    <siteMapNode url="~/AoutUs.aspx" title="About_us" />
    <siteMapNode url="~/Abos.aspx" title="About_us" />
  </siteMapNode>
</siteMap>

Open in new window

0
 
Reza RadConsultant, TrainerCommented:
0
 
chandresh43Author Commented:
i don't know how do this
i did like this
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
  <siteMapNode  title="About Shivdiamonds">
      <siteMapNode url="~/AboutUs.aspx"  title="About_us"  />
      <siteMapNode url="~/AbouUs.aspx" title="About_us" />
      <siteMapNode url="~/AbtUs.aspx" title="About_us" />
    <siteMapNode url="~/tUs.aspx" title="About_us" />
    <siteMapNode url="~/AoutUs.aspx" title="About_us" />
    <siteMapNode url="~/Abos.aspx" title="About_us" />
  </siteMapNode>
</siteMap>

but not work
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
Reza RadConsultant, TrainerCommented:
how did you check it? did you place a sitemap control on your page?
could you upload your .aspx page here?

this is a simple example that i think would help you through this issue, follow it carefully:
http://msdn.microsoft.com/en-us/library/ms178418.aspx

0
 
chandresh43Author Commented:
my site map create map like
aboutus
-product
--dvd
-who we are

i want
that product
like
about us
-who we are
product
-dvd
 
0
 
savethetigerCommented:
If I understand properly  you would like to have level in your site map. In this case you need to simply
insert a site map node inside the other like in this example:

<siteMapNode title="About us">
    <siteMapNode title="How to reach us"   url="..." />
    <siteMapNode title="work with us"  url="..."/>
</siteMapNode>
<siteMapNode title="Products">
    <siteMapNode title="dvd"  url="..." />
    <siteMapNode title="mp3"  url="..." />
</siteMapNode>
0
 
amar31282Commented:
you need to use the Tree navigation menu in asp.net and bind it with the site map datasource
0
 
Kumaraswamy RCommented:
HI

Bellow url give some information

Building a Custom Database-Driven Site Map Provider
http://www.asp.net/Learn/data-access/tutorial-62-cs.aspx


LINQ ASP.NET Sitemap
http://dotnetperls.com/sitemap-linq

Creating an ASP.NET SiteMap dynamically using LINQ and bind to a TreeView
http://www.dotnetcurry.com/ShowArticle.aspx?ID=262&AspxAutoDetectCookieSupport=1


0
 
chandresh43Author Commented:
i thank no one get me
look
 
i know how to use tree view and site map
i want
site map code
that look like
about us
in about us
link who are we
and then
product
this product not in about us

0
 
chandresh43Author Commented:
thanks it work fine
all other experts not get me
thanks for it
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.