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:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2006-08-23 22:49:49 +0400
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2006-08-23 22:49:49 +0400
commitd3bfb70ebac1870245b1fff16575faf0af95cb59 (patch)
tree4e3b39ad7e79bac47f5da7410cf52266d1827b68 /mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs
parent8791e19337f2e98e1158da03749923aafd2133a0 (diff)
2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle. svn path=/trunk/mcs/; revision=64266
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.cs5
1 files changed, 0 insertions, 5 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 29250a22253..1d801f3bf6d 100644
--- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs
+++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs
@@ -101,13 +101,8 @@ namespace System.Web.UI.HtmlControls {
[WebSysDescription("")]
[WebCategory("Appearance")]
public string Value {
-#if NET_2_0
get { return InnerText; }
set { InnerText = value; }
-#else
- get { return InnerHtml; }
- set { InnerHtml = value; }
-#endif
}