replace menu
This commit is contained in:
parent
eed185b894
commit
884183a2ce
10 changed files with 67 additions and 45 deletions
|
@ -47,7 +47,12 @@ namespace WebsitePanel.Portal
|
|||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
BindMenu(menu.Items, PortalUtils.GetModuleMenuItems(this));
|
||||
MenuItem rootItem = new MenuItem(locMenuTitle.Text);
|
||||
rootItem.Selectable = false;
|
||||
|
||||
menu.Items.Add(rootItem);
|
||||
|
||||
BindMenu(rootItem.ChildItems, PortalUtils.GetModuleMenuItems(this));
|
||||
}
|
||||
|
||||
private void BindMenu(MenuItemCollection items, XmlNodeList nodes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue