maartenba / MvcSiteMapProvider

An ASP.NET MVC SiteMapProvider implementation for the ASP.NET MVC framework.
Microsoft Public License
539 stars 218 forks source link

CurrentNode of nodes added using dynamicNodeProvider is null #495

Open VaishaliSelvam opened 3 years ago

VaishaliSelvam commented 3 years ago

I am having 3 level hierarchy of nodes. I am adding child nodes to the below node using dynamicNodeProvider. When I click on these childNodes at runtime, SiteMaps.Current.CurrentNode is null for it

mvcSiteMapNode title="FirstNode" dynamicNodeProvider="Project.Website.MvcSiteMap,Project" key="FirstNode1" mvcSiteMapNode

I am currently using 4.6.22 version of MVCSiteMapProvider