void cmdUpdate_Click(object sender, EventArgs e) { if (_providerSettingsControl != null) { var settings = _providerSettingsControl.SaveSettings(); foreach (var setting in settings) { ExtensionUrlProviderController.SaveSetting(_providerId, ModuleContext.PortalId, setting.Key, setting.Value); } } Response.Redirect(Globals.NavigateURL(ModuleContext.PortalSettings.ActiveTab.TabID)); }
private void cmdUpdate_Click(object sender, EventArgs e) { if (!this.Page.IsValid) { return; } if (this._providerSettingsControl != null) { var settings = this._providerSettingsControl.SaveSettings(); foreach (var setting in settings) { ExtensionUrlProviderController.SaveSetting(this._providerId, this.ModuleContext.PortalId, setting.Key, setting.Value); } } if (this.DisplayMode != "editor" && this.DisplayMode != "settings") { this.Response.Redirect(this._navigationManager.NavigateURL(this.ModuleContext.PortalSettings.ActiveTab.TabID)); } }