In what order do the events of an ASPX page execute. As a
developer, why is it important to understand these events?

Answers were Sorted based on User's Feedback



In what order do the events of an ASPX page execute. As a developer, why is it important to underst..

Answer / shalini

The events occured as follows:-
1)Page_Init()
2)Page_Load()
3)Page_Prerender()
4)Page_Unload().

Is This Answer Correct ?    51 Yes 5 No

In what order do the events of an ASPX page execute. As a developer, why is it important to underst..

Answer / kannan

Page_PreInit()
Page_Init()
Page_InitComplete()
Page_PreLoad()
Page_Load()
Page_LoadComplete()
Page_Prerender()
Page_Render()
Page_Unload()

Is This Answer Correct ?    18 Yes 6 No

In what order do the events of an ASPX page execute. As a developer, why is it important to underst..

Answer / simon

Follow up question: what is the actual difference between
Page_Init and Page_InitComplete Events?

As far as I can gather from googling this a bit, both fire
when the Initialisation stage is complete - all controls
have been created and are available, but before any
viewstate has been re-loaded into the controls.

If I wanted to dynamically create more controls, or add
rows to an existing table etc. Which event procedure
should I use?

Is This Answer Correct ?    6 Yes 4 No

In what order do the events of an ASPX page execute. As a developer, why is it important to underst..

Answer / firoj husen shaikh

The events will be executed in following order,
Page_PreInit()
Page_Init()
Page_InitComplete()
LoadViewState()
Page_PreLoad()
Page_Load()
Page_LoadComplete()
Page_Prerender()
SaveViewState()
Page_Render()
Page_Unload()

As a developer it is necessry to understand which event is
useful to initialize variables and other kind of
initialization.

Is This Answer Correct ?    9 Yes 8 No

In what order do the events of an ASPX page execute. As a developer, why is it important to underst..

Answer / ashutosh

Page_PreInit
Page_Init
Page_InitComplete
Page_PreLoad
Page_Load
Page_LoadComplete
Page_Prerender
Page_Unload

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

Have you used microsoft dataaccess blocks and Exception blocks?

1 Answers   Microsoft,


How can you achieve nested Masterpages in 2.0?

1 Answers   Microsoft,


What is the difference between abstract class vs interface? Can give me the real time examples?

0 Answers  


Which method do you use to kill explicitly a users session?

0 Answers   MindCracker,


Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?

0 Answers   Hexaware, Infosys,






What is caching and types of caching ?

2 Answers   Infosys,


Could u send me the answer for this question as soon as possible. Im using 'System.net.mail.mailmessage' namespace for sending a mail from my application. What should I mention in 'system.net.mail.mailmessage.to' property and What should I mention in 'system.net.mail.mailmessage.from' property.

1 Answers  


how can we maintain security in soted procedure?

1 Answers  


How to implement form based authentication in asp.net application?

0 Answers  


How is my content secured from unauthorized access?

0 Answers  


What are ASP.NET Web Forms? How is this technology different than what is available though ASP?

1 Answers   BirlaSoft,


Fetch one page value to another page without using state-managment ?

0 Answers   HCL,


Categories