/// <summary> /// Raises UpdateControl Event /// </summary> /// <param name="e">The <see cref="Rainbow.Framework.Web.UI.WebControls.SettingsTableEventArgs"/> instance containing the event data.</param> protected virtual void OnUpdateControl(SettingsTableEventArgs e) { if (UpdateControl != null) { //Invokes the delegates. UpdateControl(this, e); } }
private void EditTable_UpdateControl(object sender, Rainbow.Framework.Web.UI.WebControls.SettingsTableEventArgs e) { ModuleSettings.UpdateModuleSetting(ModuleID, e.CurrentItem.EditControl.ID, e.CurrentItem.Value); }