Beispiel #1
0
        protected void Save_Click(object sender, EventArgs e)
        {
            if (Page.IsValid)
            {
                ConfigurationForm.Commit();

                ConfigurationForm.ReloadControlValuesFromConfigurationData();

                SetMessage(StatusType.Success, "Your changes have been successfully saved.");
            }
            else
            {
                SetMessage(StatusType.Error, "Please check your configuration.  There was an issue while saving.");
            }
        }