Beispiel #1
0
        protected override void OnPreRender(EventArgs e)
        {
            var mainMenuTab = TabbedMenu.Tabs.Find("OrganizationalStructureTab") as MainMenuTab;

            mainMenuTab.Text = GlobalResourcesHelper.GetString(GlobalResources.OrganizationalStructure);
            mainMenuTab.SubMenuTabs.Find("UserTab").Text      = GlobalResourcesHelper.GetString(GlobalResources.User);
            mainMenuTab.SubMenuTabs.Find("GroupTab").Text     = GlobalResourcesHelper.GetString(GlobalResources.Group);
            mainMenuTab.SubMenuTabs.Find("TenantTab").Text    = GlobalResourcesHelper.GetString(GlobalResources.Tenant);
            mainMenuTab.SubMenuTabs.Find("PositionTab").Text  = GlobalResourcesHelper.GetString(GlobalResources.Position);
            mainMenuTab.SubMenuTabs.Find("GroupTypeTab").Text = GlobalResourcesHelper.GetString(GlobalResources.GroupType);

            var accessControlTab = TabbedMenu.Tabs.Find("AccessControlTab") as MainMenuTab;

            accessControlTab.Text = GlobalResourcesHelper.GetString(GlobalResources.AccessControl);
            accessControlTab.SubMenuTabs.Find("SecurableClassDefinitionTab").Text =
                GlobalResourcesHelper.GetString(GlobalResources.SecurableClassDefinition);

            base.OnPreRender(e);
        }
Beispiel #2
0
        // types

        // static members and constants

        // member fields

        // construction and disposing

        // methods and properties

        protected override void OnPreRender(EventArgs e)
        {
            ErrorsOnPageLabel.Text = GlobalResourcesHelper.GetString(GlobalResources.ErrorMessage);

            base.OnPreRender(e);
        }