Click here to Skip to main content
15,908,437 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
I use web.sitemap , and use sitemappath in content pages


my web.sitemap is

XML
<?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="FlyRoundtheworld">
        <siteMapNode url="hotels.aspx" title="Hotels"  description="Hotels" >
          <siteMapNode url="hotellist.aspx" title="Hotel List"  description="">
            <siteMapNode url="hoteldetails.aspx" title="Hotel Details"  description="" >
              <siteMapNode url="bookings.aspx" title="Booking"  description="" />
            </siteMapNode>
          </siteMapNode>
        </siteMapNode>
    </siteMapNode>
</siteMap>




so when i click hotels, it shows home->hotels (home has link to default.aspx) ,
then when hotellist is clicked, it show home->hotels (hotels has link to hotels.aspx)->hotellist


what i want is to set href for hotellist here itself in same page and not next sitemap node page



how to do this
Posted
Comments
Kornfeld Eliyahu Peter 6-Jan-14 5:24am    
"what i want is to set href for hotellist here itself in same page and not next sitemap node page" - can you rephrase it, it's not clear...
maulikshah1990 6-Jan-14 5:26am    
when i click, default.aspx , i want to make breadcrumb for default.aspx like anchor href="#" for default.aspx .... on same page itself
Kornfeld Eliyahu Peter 6-Jan-14 5:40am    
Just for clarify. You want an active link also when you are on the page itself but with the href value of #?
maulikshah1990 6-Jan-14 5:41am    
yes,,
href can be # for page url
maulikshah1990 6-Jan-14 6:11am    
waiting..it is very urgent..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900