protected override void OnLoad(EventArgs e) { base.OnLoad(e); this.targetFolderId = RequestParser.GetTargetFolderIdFromQueryString(base.Request, false); this.selectedFolderId = RequestParser.GetFolderIdFromQueryString(base.Request, false); this.FetchModule(); this.FetchSelectedItems(); this.InitializeFolderList(); this.folderDropDown = new FolderDropdown(base.UserContext); }
// Token: 0x06000539 RID: 1337 RVA: 0x00029C08 File Offset: 0x00027E08 protected override void OnLoad(EventArgs e) { base.OnLoad(e); this.folderDropdown = new FolderDropdown(base.UserContext); this.selectedFolderId = RequestParser.GetFolderIdFromQueryString(base.Request, false); if (this.selectedFolderId == null) { ModuleViewState moduleViewState = base.UserContext.LastClientViewState as ModuleViewState; if (moduleViewState != null) { this.selectedFolderId = moduleViewState.FolderId; } } if (this.selectedFolderId == null) { switch (this.module) { case NavigationModule.Mail: this.selectedFolderId = base.UserContext.InboxFolderId; break; case NavigationModule.Calendar: this.selectedFolderId = base.UserContext.CalendarFolderId; break; case NavigationModule.Contacts: this.selectedFolderId = base.UserContext.ContactsFolderId; break; } } this.module = RequestParser.GetNavigationModuleFromQueryString(base.Request, NavigationModule.Mail, true); if ((this.module == NavigationModule.Calendar && !base.UserContext.IsFeatureEnabled(Feature.Calendar)) || (this.module == NavigationModule.Contacts && !base.UserContext.IsFeatureEnabled(Feature.Contacts))) { throw new OwaSegmentationException("The " + this.module.ToString() + " feature is disabled"); } this.InitializeFolderList(); }