Reddy
Reddy

Reputation: 66

Page Load series of events what kind data should be loaded :)

hi anybody can help me what kind of data loaded to improve performance of the website during below events i am not using below methods efficiently

Upvotes: 0

Views: 101

Answers (1)

Milind Thakkar
Milind Thakkar

Reputation: 980

  1. PreInit : Dynamic control, master page etc can be set here
  2. Init :Set initial/default value of control/properties. No viewstate can be used.
  3. InitComplete : Set viewstate data.
  4. PreLoad: Set properties of controls.
  5. OnPreRender: Again, last chance to set properties of controls.
  6. Render: Put some HTML logic, kind of dynamically creating HTML.
  7. Unload : Nothing much a developer should/can do here.

Upvotes: 1

Related Questions