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:
authorChris Toshok <toshok@novell.com>2005-08-28 08:45:59 +0400
committerChris Toshok <toshok@novell.com>2005-08-28 08:45:59 +0400
commit299a32a0bc43696b38c87046e34b3be49f1e9ac9 (patch)
tree008eb040ee1c398bf9c2152f5920335660955798 /mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs
parentf58121b1cf39354e53325a898953ecf38c2512e4 (diff)
2005-08-28 Chris Toshok <toshok@ximian.com>
* HtmlImage.cs: corcompare fixes. * HtmlInputCheckBox.cs: same. svn path=/trunk/mcs/; revision=48999
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs')
-rw-r--r--mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs
index 22ef5359f33..57b24a23538 100644
--- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs
+++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs
@@ -31,7 +31,11 @@ using System.Globalization;
namespace System.Web.UI.HtmlControls
{
+#if NET_2_0
+ [ControlBuilder (typeof (HtmlEmptyTagControlBuilder))]
+#else
[ControlBuilder (typeof (HtmlControlBuilder))]
+#endif
public class HtmlImage : HtmlControl
{
public HtmlImage () : base ("img")
@@ -65,6 +69,9 @@ namespace System.Web.UI.HtmlControls
[DefaultValue ("")]
[DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
+#if NET_2_0
+ [Localizable (true)]
+#endif
public string Alt
{
get {
@@ -188,4 +195,4 @@ namespace System.Web.UI.HtmlControls
}
}
- \ No newline at end of file
+