Beispiel #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            // load package context
            cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);

            // bind root node
            BindMenu(menu.Items, PortalUtils.GetModuleMenuItems(this));
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            MenuItem rootItem = new MenuItem(locMenuTitle.Text);

            rootItem.Selectable = false;

            menu.Items.Add(rootItem);

            BindMenu(rootItem.ChildItems, PortalUtils.GetModuleMenuItems(this));
        }
Beispiel #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            // load package context
            cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);

            // bind root node
            MenuItem rootItem = new MenuItem(locMenuTitle.Text);

            rootItem.Selectable = false;

            menu.Items.Add(rootItem);

            BindMenu(rootItem.ChildItems, PortalUtils.GetModuleMenuItems(this));
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     BindMenu(menu.Items, PortalUtils.GetModuleMenuItems(this));
 }