breadcrumb is not integrating using MvcSiteMap in my MVC project

Jun 3, 2010 at 3:28 PM
Edited Jun 3, 2010 at 3:32 PM
hi,
i am facing the problem of breadcrumb is not integrating using MvcSiteMap in my MVC project and i am using mvcsitemap-46401 if i click on search button or link i should get like


HOME>AddressType>Search

for that i wrote the code in web.sitemap like below

<?xml version="1.0" encoding="utf-8" ?>

<siteMap enableLocalization="true">

<siteMapNode id="Root" url="~/Index.aspx">

<mvcSiteMapNode id="Home" title="HomeTitle" controller="Home" action="Index">

</mvcSiteMapNode>

<mvcSiteMapNode title="AddressTypeTitle" controller="AddressType" >

--><!--First--><!--

<mvcSiteMapNode title="SearchTitle" action="Search" isDynamic="true" dynamicParameters="*" >

<mvcSiteMapNode title="ShowTitle" action="Show" isDynamic="true" dynamicParameters="*" />

<mvcSiteMapNode title="EditTitle" action="Edit" isDynamic="true" dynamicParameters="*" />

</mvcSiteMapNode>

</siteMap>

and in my web.config i wrote like

<siteMap defaultProvider="MvcSitemapProvider">

<providers>

<add name="MvcSitemapProvider"

type="MvcSiteMap.Core.MvcSiteMapProvider"

siteMapFile="~/Web.Sitemap"

securityTrimmingEnabled="true"

cacheDuration="10"

/>