X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FSystem.Web.UI.HtmlControls%2FHtmlControl.cs;h=f708b2ea3d47f335f249bcaa58d17d7f076a9453;hb=a5e40870bd3bb18e1681afed6c71e7edfdb80534;hp=c4f2476628f3e057a17ccda94fb8e8df4b24aea5;hpb=2007998771b1c4d9e762943676d7959daaf74385;p=mono.git diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlControl.cs b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlControl.cs index c4f2476628f..f708b2ea3d4 100644 --- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlControl.cs +++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlControl.cs @@ -45,7 +45,7 @@ namespace System.Web.UI.HtmlControls{ public abstract class HtmlControl : Control, IAttributeAccessor { internal string _tagName; - private AttributeCollection _attributes; + AttributeCollection _attributes; #if NET_2_0 @@ -85,12 +85,12 @@ namespace System.Web.UI.HtmlControls{ if (attr != null){ if (attr.Length != 0){ try{ - attr = ResolveUrl(attr); + attr = ResolveClientUrl(attr); } catch (Exception) { throw new HttpException(attribName + " property had malformed url"); } - writer.WriteAttribute(attribName, attr); + writer.WriteAttribute(attribName, attr, true); Attributes.Remove(attribName); } }