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
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 |
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 |
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 |
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 |
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 |
What's the ASP.Net Application life cycle?
What is viewstate? What does the “enableviewstate” property do?
How does session authentication work?
What is the state management in asp.net?
What is difference between ASP and ASP.NET ?
Where you store Connection string in "Web.Config" file in ASP.NET?
0 Answers Sans Pareil IT Services,
What is the first name space in .netF/W heirarchy
Which namespace do the classes, allowing you to support COM functionality, are located?
what is state management,what is the purpose of it,how it will be implemented in real time?
why we are using delegates and in which condition it is required?
What is the function of the CustomValidator? a) It allows for custom C# client-side code to validate entries in a control. b) It allows for a custom mixture of validator controls to use one central control for the display of messages. c) It uses scripted client-side code to validate the entry in a control. d) It uses server-side code to validate the entry in a control.
4 Answers ABC, Syntax Softtech, TCS,
What are the advantages of using sql stored procedures instead of adhoc sql queries in an asp.net web application?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)