Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Zelmanovich <igorz@mono-cvs.ximian.com>2007-02-19 13:19:11 +0300
committerIgor Zelmanovich <igorz@mono-cvs.ximian.com>2007-02-19 13:19:11 +0300
commit2cb334b39088376b176929f7b96e01a866aee322 (patch)
tree6ab9e69be126341b8dcde445fc559a027029d4f9 /mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs
parente3a6565fd944155ed93172d2beab8fae29bf8bea (diff)
2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: for 2.0: refactoring: prepare infrastructure for Form.SubmitDisabledControls feature 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com> * HtmlInputCheckBox.cs: * HtmlInputControl.cs: * HtmlInputHidden.cs: * HtmlInputRadioButton.cs: * HtmlInputText.cs: * HtmlSelect.cs: * HtmlTextArea.cs: fixed: Form.SubmitDisabledControls feature: not all HtmlInputControl need to be reenabled on client. svn path=/trunk/mcs/; revision=73102
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.cs4
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 62eda3162e2..09203fc6768 100644
--- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs
+++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs
@@ -126,6 +126,10 @@ namespace System.Web.UI.HtmlControls {
if (Page != null) {
Page.RegisterRequiresPostBack (this);
}
+#if NET_2_0
+ if (Page != null && !Disabled)
+ Page.RegisterEnabledControl (this);
+#endif
}
protected virtual void OnServerChange (EventArgs e)