Link to home
Start Free TrialLog in
Avatar of chandresh43
chandresh43Flag for India

asked on

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
Avatar of Reza Rad
Reza Rad
Flag of New Zealand image

Avatar of chandresh43

ASKER

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
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

my site map create map like
aboutus
-product
--dvd
-who we are

i want
that product
like
about us
-who we are
product
-dvd
 
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>
you need to use the Tree navigation menu in asp.net and bind it with the site map datasource
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


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

ASKER CERTIFIED SOLUTION
Avatar of Todd Gerbert
Todd Gerbert
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks it work fine
all other experts not get me
thanks for it