protected override void OnLoad(EventArgs e) { base.OnLoad(e); JavaScript.RegisterClientReference(Page, ClientAPI.ClientNamespaceReferences.dnn); CancelButton.NavigateUrl = Globals.NavigateURL(); NewMappingButton.Click += OnNewMappingClick; if (!IsPostBack) { Session["FolderMappingsList"] = null; if (ModuleConfiguration.ModuleControl.SupportsPopUps) { MappingsGrid.Rebind(); } } if (DotNetNukeContext.Current.Application.Name == "DNNCORP.CE") { NewMappingButton.Visible = false; } }