Tuesday, 5 June 2012

Sharepoint Web part Life Cycle

  1. OnInit event used to create controls of web part
  2. CreateChildControls event used to set properties and default values
  3. OnPreRender event used to set up business logic related work and in this routine controls value kept by viewstate
  4. Render event used to create HTML and write that HTML on web page

No comments:

Post a Comment