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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you do Redo and Undo in a TextControl?

672


Explain the difference between value type and reference type?

263


i want to implement grid view value in paypal site. so how to create this code in asp.net with C#

1501


What is sql data source control in asp.net?

573


Explain the asp.net session state modes.

618






How you will handle session when deploying application in more than a server?

594


In which event of the page viewstate is available?

469


Explain the significance of routing? : asp.net mvc

542


In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?

597


calling result set one procedure to anothar procedure in sql2000

1342


What is the difference between Hash table and Array list?

375


if i want to give an alert message like "try after sometime" to a web page which is being seen by other person.if a web page is not seen by anyone then it should display otherwise it show a display a message stating that other person is viewing so try after some time........how can i implement this.

1841


Explain the difference between server control and html control.

477


What are the Types of authentications in IIS

599


What methods are fired during the page load? Init()

520