This topic is obviously under construction. Please use our forums to inquire about any missing details.
During start up and continued operation of a control a series of overridable methods are called.
Sequences
Start Up
On first render, controls will be initialized. Normally this happens when a page is first rendered. As Pages are layouts, they will in turn initialize all child controls.
Controls
- DoInit
- DoInitDOM
- InitDOM
- DoAfterInitDOM
- AfterInitDOM
- DoInitDOM
AfterDomComplete
Layouts
Needs update – See Controls…
- DoInitDOM
- For each Cell
- Cell.InitDOM
- Cell.Control.InitDOM
- Cell.InitDOM
- InitDOM
- AfterInitDOM
- InitCellListDOM
- For each Cell
AfterDomComplete
Rendering
- Render
Method Details
DoInitDOM
InitDOM
InitCellListDOM (Layouts only)
AfterInitDOM
DomComplete
Render
Renderer.Render() will call .DoInit if it has not been called yet. This is why it is critical to call super.Render() at an early stage.