G
Gokhan Akca
I have a page containing multiple user controls.
When Page_OnPreRender is called, the user controls' OnPreRender Method is
called, too.
But: How is the order of the usercontrols processed by asp.net? Note that I
have multiple user controls - not just one.
Assumption: the framework is accessing the page's controls list.
If the assumption is correct:
How can I affect the order of user controls stored in the page's controls
list?
Does the tag prefix registration within a page affect the order of the
controls in the control's list?
Or does the page parse the controls which it contains and adds them one by
one in order of occurence within the HTML tags?
Please note:
I am not interested in simple page lifecycle. I am already familiar with
page lifecycle. I need some information on how I can affect the order of web
user controls within a page processed by asp.net events.
Thanks.
When Page_OnPreRender is called, the user controls' OnPreRender Method is
called, too.
But: How is the order of the usercontrols processed by asp.net? Note that I
have multiple user controls - not just one.
Assumption: the framework is accessing the page's controls list.
If the assumption is correct:
How can I affect the order of user controls stored in the page's controls
list?
Does the tag prefix registration within a page affect the order of the
controls in the control's list?
Or does the page parse the controls which it contains and adds them one by
one in order of occurence within the HTML tags?
Please note:
I am not interested in simple page lifecycle. I am already familiar with
page lifecycle. I need some information on how I can affect the order of web
user controls within a page processed by asp.net events.
Thanks.