In my RouteConfigs.cs, I have set :
routes.MapPageRoute("Import", "Import/{ImportType}", "~/Views/ImportData.aspx");
To call the above from code-Behind :
Response.RedirectToRoute("Import", new { ImportType = "Inquiry" });
In ImportData, I access the parameters as :
if (Page.RouteData.Values["ImportType"] != null)
{
ImportType = (string)Page.RouteData.Values["ImportType"];
}
In my web.SiteMap file, I added :
In my Site.Master, I have added :
But, I can't find any sitemap details in it !!
Any idea how to solve the above 2 queries reg SiteMapNode & SiteMapPath !!
kindly help me.
Thanks
Replies
Know the answer? Post it — somebody with the same question will find it here.