[Mono-dev] [PATCH] TemplateControl.AppRelativeVirtualPath

joel reed joel.reed at ddiworld.com
Mon Feb 12 13:00:21 EST 2007


The attached patch is a quick hack for those who need the 
TemplateControl property AppRelativeVirtualPath.

It should NOT be applied to the mono tree as-is. If anyone could point 
me to the correct way to implement this, I'd be glad to rework it.

Right now, the patch returns the correct path, but the property is 
implemented as a virtual which is overridden by the 
TemplateControlCompiler. The property is not supposed to be virtual though.

I'm just posting this hack for those who need something that works, 
until a real implementation can be done.

See: 
http://msdn2.microsoft.com/en-us/library/system.web.ui.templatecontrol.apprelativevirtualpath.aspx

There's a bugzilla request for this here:
http://bugzilla.ximian.com/show_bug.cgi?id=80634

jr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: AppRelativeVirtualPath.v1.patch
Type: text/x-patch
Size: 2311 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070212/5fde541a/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: joel.reed.vcf
Type: text/x-vcard
Size: 405 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070212/5fde541a/attachment.vcf 


More information about the Mono-devel-list mailing list