Method Calls

Method Calls

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

  1. DoInit
    1. DoInitDOM
      1. InitDOM
    2. DoAfterInitDOM
      1. AfterInitDOM

AfterDomComplete

Layouts

Needs update – See Controls…

  1. DoInitDOM
    1. For each Cell
      1.  Cell.InitDOM
        1. Cell.Control.InitDOM
    2. InitDOM
    3. AfterInitDOM
      1. InitCellListDOM

AfterDomComplete

Rendering

  1. 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.