Q. Explain webpart life cycle.
Ans. protected override void OnInit(EventArgs e)
Ans. protected override void OnInit(EventArgs e)
- protected override void OnLoad(EventArgs e)
- protected override void CreateChildControls()
- protected override void LoadViewState(object savedState) //Only at Postback
- protected override void OnPreRender(EventArgs e)
- protected override void Render(System.Web.UI.HtmlTextWriter writer)
- protected override void OnUnload(EventArgs e)
- public override void Dispose()
No comments:
Post a Comment