This is a migrated thread and some comments may be shown as answers.

[Solved] why the menu not shown?

0 Answers 104 Views
Menu
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pam Redrum
Top achievements
Rank 1
Pam Redrum asked on 09 Jul 2010, 03:22 AM
I have add a
<% Html.Telerik().Menu().Name("LeftMenu").BindTo("telerik.mvc.menu").Render(); %>
at Site.Master
and add
SiteMapManager.SiteMaps.Register<XmlSiteMap>("menu", sitemap => sitemap.LoadFrom("~/Web.sitemap"));
 in global.asax.cs
and add
[PopulateSiteMap(SiteMapName = "menu", ViewDataKey = "telerik.mvc.menu")]
before controller class define

and the menu will only show in one action, in other actions it shown without any item, how should this be?
the actions have a Authorize or not both not shown item.
Tags
Menu
Asked by
Pam Redrum
Top achievements
Rank 1
Share this question
or