[Mono-dev] [PATCH RESEND] - 2 patches for system.web
Andrew Skiba
andrews at mainsoft.com
Thu May 11 10:36:33 EDT 2006
Hi Chris.
You wrote:
> as for ApplyTheme.patch, I'm still waiting for a test for
> that as well (not a behavioral one, one that actually points
> out where in the lifecycle the theme stuff happens.)
Please look at attached websites for dotnet and mono. On dotnet I
subclassed Panel and ImageButton to see lifecycle of parent and child
webcontrols. The output was:
child.ApplyStyleSheetSkin
child.set_ImageURL
before parent.AddedControl
after parent.AddedControl
child.set_ImageURL
child.OnInit
before parent.OnInit
after parent.OnInit
before parent.CreateChildControls
after parent.CreateChildControls
On mono I changed sys.web code (attached patch - not for committing) to
see tracing. Before patch I've got:
***NOTHING!!!*** No output because no controls were created whatsoever.
After patch I've got:
child.ApplyStyleSheetSkin
child.set_ImageURL
before parent.AddedControl
after parent.AddedControl
child.set_ImageURL
before parent.OnInit
after parent.OnInit
before parent.CreateChildControls
after parent.CreateChildControls
Regards,
Andrew.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PageLinks.dotnet.zip
Type: application/x-zip-compressed
Size: 13442 bytes
Desc: PageLinks.dotnet.zip
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060511/f5829ec5/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PageLinks.mono.zip
Type: application/x-zip-compressed
Size: 12420 bytes
Desc: PageLinks.mono.zip
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060511/f5829ec5/attachment-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diag.patch
Type: application/octet-stream
Size: 2125 bytes
Desc: diag.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060511/f5829ec5/attachment.obj
More information about the Mono-devel-list
mailing list