/// ----------------------------------------------------------------------------- /// <summary> /// UpdateSettings saves the modified settings to the Database /// </summary> /// ----------------------------------------------------------------------------- public override void UpdateSettings() { try { var module = new ModuleController(); module.UpdateTabModuleSetting(TabModuleId, SettingNames.JumbotronTitle, txtJumbotronTitle.Text); module.UpdateTabModuleSetting(TabModuleId, SettingNames.SubmitPhoneButton, txtCallToActionPhone.Text); module.UpdateTabModuleSetting(TabModuleId, SettingNames.SelectedCountries, txtSelectedCountries.Text); module.UpdateTabModuleSetting(TabModuleId, SettingNames.ServiceOnSubmit, txtServiceOnSubmit.Text); module.UpdateLargeTabModuleSetting(TabModuleSettings, TabModuleId, SettingNames.JumbotronContent, htmlEditor.Text); } catch (Exception exc) //Module failed to load { Exceptions.ProcessModuleLoadException(this, exc); } }