diff options
author | Miguel de Icaza <miguel@gnome.org> | 2001-11-05 10:10:08 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2001-11-05 10:10:08 +0300 |
commit | 7c9ee1a3eee8ba8eda6fc266f2936d3930d40248 (patch) | |
tree | e74daf17f9abd8c479280e02683ecf8c3e004439 /mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs | |
parent | 7eb2c92598dd09f9600ac131c3a677500315d7a7 (diff) |
Flush pending changes I got from a contributor that did not put his name in
svn path=/trunk/mcs/; revision=1263
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs')
-rwxr-xr-x | mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs | 15 |
1 files changed, 7 insertions, 8 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 97cf3a47ae7..fbc67139c55 100755 --- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs +++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs @@ -14,8 +14,8 @@ namespace System.Web.UI.HtmlControls{ public HtmlImage(): base("img"){} - protected override void RenderAttributes(HtmlTextWriter writer){ - PreProcessRelativeReferenceAttribute(writer,"src"); + protected new void RenderAttributes(HtmlTextWriter writer){ + PreProcessRelativeReference(writer,"src"); RenderAttributes(writer); writer.Write(" /"); } @@ -29,7 +29,7 @@ namespace System.Web.UI.HtmlControls{ return ""; } set{ - Attributes["align"] = MapStringAttributeToString(value); + Attributes["align"] = AttributeToString(value); } } @@ -42,7 +42,7 @@ namespace System.Web.UI.HtmlControls{ return ""; } set{ - Attributes["alt"] = MapStringAttributeToString(value); + Attributes["alt"] = AttributeToString(value); } } @@ -55,7 +55,7 @@ namespace System.Web.UI.HtmlControls{ return -1; } set{ - Attributes["border"] = MapIntegerAttributeToString(value); + Attributes["border"] = AttributeToString(value); } } @@ -68,7 +68,7 @@ namespace System.Web.UI.HtmlControls{ return ""; } set{ - Attributes["src"] = MapStringAttributeToString(value); + Attributes["src"] = AttributeToString(value); } } @@ -81,11 +81,10 @@ namespace System.Web.UI.HtmlControls{ return -1; } set{ - Attributes["width"] = MapIntegerAttributeToString(value); + Attributes["width"] = AttributeToString(value); } } } // class HtmlImage } // namespace System.Web.UI.HtmlControls - |