hi, i'm wondering if someone can explain where object instances are actually defined in the page creation lifecycle of asp.net pages.
for instance (no pun intended), you create a webform, add a few server controls, set some props, compile, etc. and voila! the page is displayed.
however, when you view the underlying class for your page, you can see the declarations for your server controls but not their definitions. where are these guys actually instantiated? is there some behind the scenes magic in the call to base.onInit()?
the reason i'm interested is because i'm trying to come up with an inheritance scheme for similar webpages. it'd be nice if, say for example, you created page foo.aspx that contained a common set of server controls applicable to all derived types of foos. perhaps i'm trying to replicate the behaviour of "visual inheritance" found in .NET win32 apps.
thanks for the input!
..:: mirirom ::..
for instance (no pun intended), you create a webform, add a few server controls, set some props, compile, etc. and voila! the page is displayed.
however, when you view the underlying class for your page, you can see the declarations for your server controls but not their definitions. where are these guys actually instantiated? is there some behind the scenes magic in the call to base.onInit()?
the reason i'm interested is because i'm trying to come up with an inheritance scheme for similar webpages. it'd be nice if, say for example, you created page foo.aspx that contained a common set of server controls applicable to all derived types of foos. perhaps i'm trying to replicate the behaviour of "visual inheritance" found in .NET win32 apps.
thanks for the input!
..:: mirirom ::..