Pre Render
“ This event used for modifying server controls just before sending them down to the client”
Allows final changes to the page or its control. This event takes place after all regular PostBack events have taken place. This event takes place before saving ViewState, so any changes made here are saved. For example : After this event, you cannot change any property of a button or change any viewstate value. Because, after this event, SaveStateComplete and Render events are called.
Render
“This event is used to put the HTML output to the response stream”
This is a method of the page object and its controls (and not an event). At this point, ASP.NET calls this method on each of the page’s controls to get its output. The Render method generates the client-side HTML, Dynamic Hypertext Markup Language (DHTML), and script that are necessary to properly display a control at the browser.
For more ASP.NET page life cycle Click Here…
ReplyDeleteGreat post it's amazing blog Thanks a lot
Dot Net Online Training Hyderabad