Asp Notes
Asp Notes
3
4
5
ASP Dot Net
6
ASP Dot Net
•Init - Init event initializes the control
property and the control tree is built.
InitComplete - InitComplete event allows
tracking of view state. All the controls turn
on view-state tracking.
•PreLoad - PreLoad occurs before the post
back data is loaded in the controls.
•Load -The Load event is raised for the
page first. The controls in the control tree
are created. 7
ASP Dot Net
•PostBack is the name given to the process
of submitting all the information that the
user is currently working on and send it all
back to the server.
•LoadComplete - The loading process is
completed, control event handlers are run,
and page validation takes place.
PreRender - The PreRender event occurs
just before the output is rendered. By
handling this event, pages and controls can 8
ASP Dot Net
•SaveStateComplete - State of control on
the page is saved. Personalization, control
state and view state information is saved.
The HTML markup is generated.
•UnLoad - The UnLoad phase is the last
phase of the page life cycle. It raises the
UnLoad event for all controls recursively
and lastly for the page itself. Final cleanup
is done and all resources and references,
such as database connections, are freed. 9
ASP Dot Net
10
Controls of ASP Dot Net
12
HTML and SERVER Controls
13
Code Behind and Inline coding