diff options
author | Chris Toshok <toshok@novell.com> | 2005-09-04 19:42:27 +0400 |
---|---|---|
committer | Chris Toshok <toshok@novell.com> | 2005-09-04 19:42:27 +0400 |
commit | d55e45d354da1733af182caf650daeb488ce4c5c (patch) | |
tree | 50d484852d11f1c90613e8974ad32b66f0acf6e6 /mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs | |
parent | cbd9fab013075cf4519d3e39b4ec05ad9c5c79d0 (diff) |
2005-09-04 Chris Toshok <toshok@ximian.com>
* HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
* HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
* HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
* HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
way, and in OnPreRender, call Page.RegisterRequiresPostback.
* HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
and in OnPreRender, call Page.RegisterRequiresPostback.
* HtmlInputRadioButton.cs (OnPreRender): call
Page.RegisterRequiresPostback.
* HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
Also, in OnPreRender, call Page.RegisterRequiresPostback.
* HtmlTextArea.cs (OnPreRender): call
Page.RegisterRequiresPostback.
svn path=/trunk/mcs/; revision=49408
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs index b318ae68530..b426ca97e23 100644 --- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs +++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs @@ -119,6 +119,10 @@ namespace System.Web.UI.HtmlControls { override void OnPreRender (EventArgs e) { base.OnPreRender (e); + + if (Page != null) { + Page.RegisterRequiresPostBack (this); + } } protected virtual void OnServerChange (EventArgs e) |