Note :- When any one
asks for page life the SILVER answer is appropriate , but when interviewer is asking
for application life cycle , two more things come in to picture handlers and
Below is how ASP.NET events fire.
- First the HttpModule events like BeginRequest , AuthenticateRequest fires.
- Then the HttpHandlers fires if the file extension match of the request page name.
- Finally Page events fire i.e. init, load, validate , event and render.
In which event are the controls fully loaded?
Page load event guarantees that all controls are fully loaded. Controls are
also accessed in Page_Init events but you will see that view state is not fully
loaded during this event.
How can we identify that the Page is Post Back?
Page object has an “IsPostBack” property, which can be checked to know t the
page is posted back.
What is the use of @ Register directives?
@Register directive informs the compiler of any custom server control added
to the page.
What is the use of Smart Navigation property?