Knowledge Walls
Gopal Rao
Mumbai, Maharashtra, India
Passcode:
How web parts functions fires in steps in Introduction-Custom web parts of Microsoft sharepoint
2363 Views
Flow of function Triggers in sharepoint 
OnInit()
OnLoad()
CreateChildControls()
PreRender()
Render()
Dispose()
OnInit() 
In custom web part, this function triggers first.Here can Initiate the controls of the web part.
OnLoad() 
In custom web part, this function triggers second. This function used to run statements before some events(example :- button click) triggers in web part
CreateChildControls() 
In custom web part, this function triggers third.In this function can create the controls or can edit the controls which is created in OnInit().
PreRender() 
In custom web part, this function triggers before the Render() triggers.
Render() 
This function triggers before the dispose() triggers.Here the controls are rendering to the web page.
Dispose() 
In custom web part,Finally this function triggers.
Next
Best Lessons of "Microsoft sharepoint"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details