Update of /cvsroot/magicajax/magicajax/Core/UI/Controls
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6112/Core/UI/Controls
Modified Files:
AjaxPanel.cs
Log Message:
Removed the ContentUpdated event. It can't work consistently (i.e. a TextBox will be updated with the ReflectUpdatedFormValues method, thus we can't be sure when to raise the event)
Index: AjaxPanel.cs
===================================================================
RCS file: /cvsroot/magicajax/magicajax/Core/UI/Controls/AjaxPanel.cs,v
retrieving revision 1.61
retrieving revision 1.62
diff -C2 -d -r1.61 -r1.62
*** AjaxPanel.cs 9 Feb 2006 23:19:16 -0000 1.61
--- AjaxPanel.cs 10 Feb 2006 00:28:51 -0000 1.62
***************
*** 89,111 ****
}
- #region AjaxPanelUpdated event Handler & Args
- public class AjaxPanelUpdatedEventArgs
- {
- private Control _updatedControl;
-
- public Control UpdatedControl
- {
- get { return _updatedControl; }
- }
-
- public AjaxPanelUpdatedEventArgs(Control updatedControl)
- {
- this._updatedControl = updatedControl;
- }
- }
-
- public delegate void AjaxPanelUpdatedEventHandler(object sender, AjaxPanelUpdatedEventArgs e);
- #endregion
-
/// <summary>
/// Works like Panel but the controls it contains are rendered on the page by sending
--- 89,92 ----
***************
*** 196,205 ****
#endregion
- #region Events
-
- public event AjaxPanelUpdatedEventHandler ContentUpdated;
-
- #endregion
-
#region Public Methods
--- 177,180 ----
***************
*** 906,917 ****
#endregion
- #region OnContentUpdated
- protected virtual void OnContentUpdated(AjaxPanelUpdatedEventArgs e)
- {
- if (ContentUpdated != null)
- ContentUpdated(this, e);
- }
- #endregion
-
#endregion
--- 881,884 ----
|