protected void Page_Load(object sender, EventArgs e) { Page.Title = HeaderStringHelper.GetPageTitle(Resources.Resource.Backup); Master.DisabledSidePanel = true; PersonalHelper.AdjustTopNavigator(Master.TopStudioPanel, PersonalPart.Backup); _backupContainer.CurrentPageCaption = Resources.Resource.Backup; _backupContainer.Body.Controls.Add(LoadControl(Backup.Location)); }
protected void Page_Load(object sender, EventArgs e) { Page.Title = HeaderStringHelper.GetPageTitle(Resources.Resource.Profile); Master.DisabledSidePanel = true; PersonalHelper.AdjustTopNavigator(Master.TopStudioPanel, PersonalPart.Profile); _myStaffContainer.CurrentPageCaption = Resources.Resource.Profile; var userProfileControl = (UserProfileControl)LoadControl(UserProfileControl.Location); userProfileControl.UserProfileHelper = new ProfileHelper(SecurityContext.CurrentAccount.ID.ToString()); _myStaffContainer.Body.Controls.Add(userProfileControl); }
protected void Page_Load(object sender, EventArgs e) { Page.Title = HeaderStringHelper.GetPageTitle(Resources.Resource.Administration); Master.DisabledSidePanel = true; PersonalHelper.AdjustTopNavigator(Master.TopStudioPanel, PersonalPart.Settings); _settingsContainer.CurrentPageCaption = Resources.Resource.Administration; //language _timelngHolder.Controls.Add(LoadControl(TimeAndLanguage.Location)); //themes // _themesHolder.Controls.Add(LoadControl(SkinSettings.Location)); }
protected void Page_Load(object sender, EventArgs e) { Page.Title = HeaderStringHelper.GetPageTitle(Resources.Resource.Backup, null, null); (this.Master as StudioTemplate).DisabledSidePanel = true; var topNavigator = (this.Master as StudioTemplate).TopNavigationPanel; PersonalHelper.AdjustTopNavigator(topNavigator, PersonalPart.Backup); _backupContainer.BreadCrumbs = new List <BreadCrumb>(); _backupContainer.BreadCrumbs.Add(new BreadCrumb() { Caption = Resources.Resource.Backup }); _backupContainer.Body.Controls.Add(LoadControl(Backup.Location)); }
protected void Page_Load(object sender, EventArgs e) { Page.Title = HeaderStringHelper.GetPageTitle(Resources.Resource.Administration, null, null); (this.Master as StudioTemplate).DisabledSidePanel = true; var topNavigator = (this.Master as StudioTemplate).TopNavigationPanel; PersonalHelper.AdjustTopNavigator(topNavigator, PersonalPart.Settings); _settingsContainer.BreadCrumbs = new List <BreadCrumb>(); _settingsContainer.BreadCrumbs.Add(new BreadCrumb() { Caption = Resources.Resource.Administration }); //language _timelngHolder.Controls.Add(LoadControl(TimeAndLanguage.Location)); //themes _themesHolder.Controls.Add(LoadControl(SkinSettings.Location)); }
protected void Page_Load(object sender, EventArgs e) { Page.Title = HeaderStringHelper.GetPageTitle(Resources.Resource.Profile, null, null); (this.Master as StudioTemplate).DisabledSidePanel = true; var topNavigator = (this.Master as StudioTemplate).TopNavigationPanel; PersonalHelper.AdjustTopNavigator(topNavigator, PersonalPart.Profile); _myStaffContainer.BreadCrumbs = new List <BreadCrumb>(); _myStaffContainer.BreadCrumbs.Add(new BreadCrumb() { Caption = Resources.Resource.Profile }); var userProfileControl = LoadControl(UserProfileControl.Location) as UserProfileControl; userProfileControl.UserInfo = CoreContext.UserManager.GetUsers(SecurityContext.CurrentAccount.ID); userProfileControl.MyStaffMode = true; _myStaffContainer.Body.Controls.Add(userProfileControl); }