[Mono-dev] [Mono-Dev] Small fix for System.Web.UI.HtmlControls.HtmlInputImage.cs

Eyal Alaluf eyala at mainsoft.com
Thu Jan 11 11:47:38 EST 2007


The attached patch uses "PreProcessRelativeReference" on the image "src"
attribute in order to handle relative paths from ASCX user controls.
This is similar to existing code in HtmlImage.cs.
Also maybe "PreProcessRelativeReference" should use ResolveClientUrl
rather then ResolveUrl? HtmlImage and HtmlInputImage generate relative
URLs (at least in 2.0).

Eyal.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HtmlInputImage.diff
Type: application/octet-stream
Size: 303 bytes
Desc: HtmlInputImage.diff
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070111/c34e9823/attachment.obj 


More information about the Mono-devel-list mailing list