For ArcGIS Server 9.3 ADF for .NET, and as of today, the task framework lifecycle flow is undocumented in the ADF docs, so I had to write some test code to see how & when the events occur with respect to each other and the rest of the aspx page lifecycle. Whey is this info important? Because, it will allow me to understand when to execute certain code, e.g. removing nodes in a TreeViewPlusNode control, checking if user is logged in before rendering etc.
The below summarizes my observations of the ADF task framework lifecycle events, hopefully the lifecycle flow won't change much in 9.4:
- Page_Init
- Task.CreateChildControls
- Page_PreLoad
- Page_Load
- Page_PreRender
- Task.OnPreRender
- Page_PreRenderComplete
- Task.RenderControl
- Task.Render
- Task.RenderContents
- Task.OnRenderContents
Next is the list of the adf task framework's other events:
- Task.OnClose
- Task.OnExpand
- Task.OnMinimize
- Task.OnShow
No comments:
Post a Comment