public abstract class HtmlControl : Control, IAttributeAccessor
{
internal string _tagName;
- private AttributeCollection _attributes;
+ AttributeCollection _attributes;
#if NET_2_0
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);
}
}