ASPNotes
ASPNotes
5) ViewState is stored on the page in a Hidden Field called _ViewState. Because of this, the ViewState,
will be lost, if you navigate away from the page, or if the browser is closed.
6) Difference between ViewState, SessionState and Application State - Part 5
8) Asp.Net Page Life Cycle Events: - What happens during Page Initialization Or When does ViewState
restoration happens in a Asp.net Page Life Cycle ?
Init Event occurs after the Init Event of all the individual controls on the webform.
Load Event occurs before the Load event of all the Individual controls on the webform.
(Trick:- Only after page loading we will be able to display the controls.)
9) Remember:-
10) Events can occur at 3 levels: - Application Level, Page level and Control Level – Part - 7.
Control Events are further divided into 3 categories: - Postback, Cached and Validation Events.
Read Cached Events and Use of AutopostBack property.
Remember:- Validation events happen on the client even before the webform is submitted on the
server.
11) Postback Property:-
12) Page.IsValid return true if all the validations applied are passed.
15) Use of Text and Error message property in Validators:- watch Validation Summary (Part 49)
16) Different Page navigation Techniques available in ASP.net.
Hyperlink control changes the URL and remembers the History and can be used to go to different
website present on different server.
19) Server.Execute : -
20) CrossPage Postback : -
Differences : -
Using the created WebUserControl : -
34) Cashing in ASP.Net:-