When the page or a view is loaded the framework will load the object definitions from the server. Then it will take the steps shown in the diagram to initialize the control. The object creation means that the constructor function is executed which usually creates the properties and events. Then the framework will set the property values it received from the server after which the create function will be called. The next step is the initial rendering of the control where it will generate the initial HTML used by the control (render, openHtml, closeHtml). The final step is the initialization of the DOM elements generated by the provided HTML (afterRender). From this point on the control lives its life and should be ready to respond to the UI and actions from the server (changing of properties / client actions).
Previous Topic: Syntax and Structure
Next Topic: Rendering