Events are recursive. If Page_Load fires in the page, then in the child
control, then in controls within the control.
<%= %> happens sometime after prerender
dynamically added controls play catch up when they are added to the page. If
they are added in Init, then init will fire. if they are added during
page_load, then init and page_load will fire...
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"Fred" <> wrote in message
news:...
> tnx for this info, Karl
>
> but what happens when u have controls inside page, when are their events
> processed, code inside .aspx pages and <%= %> tag, dynamicly added
> controls
>
> Karl Seguin [MVP] wrote:
>> http://aspalliance.com/articleViewer.aspx?aId=134&pId=
>>
>> init
>> load viewstate (if postback)
>> Process posted data (if postback)
>> Page Load
>> Process posted data again (if postback, necessary incase things changed
>> in page_load)
>> Raise events (if postback)
>> Prerender
>> Save viewstate
>> Unload
>>
>> Karl
>>