- if (owner != null) - s = owner.ResolveUrl (s); +#if NET_2_0 + s = s.Replace (" ", "%20"); +#endif I'm not sure about removing the ResolveUrl call... Perhaps the HtmlTextWriter should HtmlEncode the value? -Gonzalo