This question is locked. New answers and comments are not allowed.
hi,
I tried to load the sitemap (http://mvcsitemap.codeplex.com/)
I put into the global.asax the line of code :
I tried to load the sitemap (http://mvcsitemap.codeplex.com/)
I put into the global.asax the line of code :
SiteMapManager.SiteMaps.Register<XmlSiteMap>("MainAppSiteMap", sitemap => sitemap.LoadFrom("~/Mvc.sitemap"));
In the file Site.Master:Html.Telerik().Menu().Name("MainMenu").BindTo("MainAppSiteMap").Render();I also validate in my siteMap file if all the controllers and actions was right.. and they were.
it looks like the sitemap is not loaded.
Well, I did another test which was to manually add item into the menu and it worked fine.
Html.Telerik().Menu()
.Name("Menutest")
.Items(items =>
{
items.Add().Text("Item 1");
items.Add().Text("Item 2");
}).Render();
There is any thing special that I need to do if I want to use the menu?