Ejemplo n.º 1
0
        private void InitLeftMenu()
        {
            List <NavMenu> navMenus = SystemMenuWrapper.GetUserAssignedNavMenuByUserLoginID(CurrentLoginUser.UserLoginID);

            foreach (NavMenu m in navMenus)
            {
                TreeNode topnode = WebUIHelper.CreateMainItem(m, LeftPanel);

                WebUIHelper.CreateSubItem(m, topnode, this);
            }
        }
        private void InitLeftMenu()
        {
            List <NavMenu> navMenus = SystemMenuWrapper.GetUserAssignedNavMenuByUserLoginID(CurrentTokenInfo.LoginUserID, SSOConfig.CurrentApplicationCode);

            foreach (NavMenu m in navMenus)
            {
                TreeNode topnode = WebUIHelper.CreateMainItem(m, LeftPanel);

                WebUIHelper.CreateSubItem(m, topnode, this);
            }
        }