Example #1
0
 /// <summary>
 /// Raises UpdateControl Event
 /// </summary>
 /// <param name="e">
 /// The <see cref="Appleseed.Framework.Web.UI.WebControls.SettingsTableEventArgs"/> instance containing the event data.
 /// </param>
 protected virtual void OnUpdateControl(SettingsTableEventArgs e)
 {
     if (this.UpdateControl != null)
     {
         // Invokes the delegates.
         this.UpdateControl(this, e);
     }
 }
 /// <summary>
 /// Raises UpdateControl Event
 /// </summary>
 /// <param name="e">
 /// The <see cref="Appleseed.Framework.Web.UI.WebControls.SettingsTableEventArgs"/> instance containing the event data.
 /// </param>
 protected virtual void OnUpdateControl(SettingsTableEventArgs e)
 {
     if (this.UpdateControl != null)
     {
         // Invokes the delegates.
         this.UpdateControl(this, e);
     }
 }
 /// <summary>
 /// Handles the UpdateControl event of the EditTable control.
 /// </summary>
 /// <param name="sender">
 /// The source of the event.
 /// </param>
 /// <param name="e">
 /// The <see cref="T:Appleseed.Framework.Web.UI.WebControls.SettingsTableEventArgs"/> instance containing the event data.
 /// </param>
 /// <remarks>
 /// </remarks>
 protected void EditTable_UpdateControl(object sender, SettingsTableEventArgs e)
 {
     Framework.Site.Configuration.PageSettings.UpdatePageSettings(
         this.PageID,
         ((ISettingItem)e.CurrentItem).EditControl.ID,
         ((ISettingItem)e.CurrentItem).Value.ToString());
 }
 /// <summary>
 /// Handles the UpdateControl event of the EditTable control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="T:Appleseed.Framework.Web.UI.WebControls.SettingsTableEventArgs"/> instance containing the event data.</param>
 private void EditTable_UpdateControl(object sender, SettingsTableEventArgs e)
 {
     SettingsTable edt = (SettingsTable) sender;
     PortalSettings.UpdatePortalSetting(edt.ObjectID, ((ISettingItem)e.CurrentItem).EditControl.ID, ((ISettingItem)e.CurrentItem).Value.ToString());
 }
Example #5
0
 private void EditTable_UpdateControl(object sender,
                                      Appleseed.Framework.Web.UI.WebControls.SettingsTableEventArgs e)
 {
     Framework.Site.Configuration.ModuleSettings.UpdateModuleSetting(ModuleID, ((ISettingItem)e.CurrentItem).EditControl.ID, ((ISettingItem)e.CurrentItem).Value.ToString());
 }
 private void EditTable_UpdateControl(object sender, SettingsTableEventArgs e)
 {
     PortalSettings.UpdatePortalSetting(this.PortalSettings.PortalID, ((ISettingItem)e.CurrentItem).EditControl.ID, ((ISettingItem)e.CurrentItem).Value.ToString());
 }