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

Which control would you use if you needed to make sure the values in two different controls matched?

4 Answers   Siebel Systems,


Where sessions are stored in asp.net?

0 Answers  


What is FullTrust? Do GACed assemblies have FullTrust?

2 Answers  


What is wrong with a line like this? DateTime.Parse(myString)

5 Answers   Metasys,


What?s a bubbled event?

1 Answers  






What is cross page posting? How is it done?

0 Answers  


Is asp.net mvc front end or backend? : Asp.Net MVC

0 Answers  


How do we get only edited/deleted/inserted records from a Dataset?

1 Answers   Syntax Softtech,


Which keyword you should use for class not to extend? Which keyword to be used for making the class accessible within the assembly only what are the authentication mode of ASP.NET How will you call a JavaScript function using code-behind? How will you define the Session Timeout? What are the methods to validate client-side whether the input is a correct Date format? You want to write a log when ASP.NET application starts. Which is the best place to write that peice of code? What are the page load events and what is there order? What is the difference between abstract class and interface? What are the differences between DataSet and DataReader? What are the two properties other than DataSource, which is required to populate the Drop Down Menu? What is difference between String and StringBuilder Classes? What are differences between Custom control and User control?

1 Answers   Ignis Technologies,


How many types of web application ?

1 Answers  


what are the advantage in asp.net and what are the question ask for interview in vb.net and asp.net

0 Answers   TCS,


Is it right that ASP.NET Web API has replaced WCF?

0 Answers  


Categories