Which of the following page events is raised at the end of the event-handling stage and is used for
tasks that require that all other controls on the page be loaded?
A.
OnLoad
B.
UnLoad
C.
LoadComplete
D.
PreLoad
Explanation:
The Page.LoadComplete event occurs at the end of the load stage of the page’s life cycle. The
LoadComplete event occurs after all postback data as well as view-state data is loaded into the page
and after the OnLoad method has been invoked for all controls on the page.Answer D is incorrect. This event will be raised after the page loads view state for itself and all
controls, and after it processes postback data that is included with the Request instance.Answer A is incorrect. This event is used to raise the Load event.
Answer B is incorrect. This event is used to do final cleanup for specific controls, such as closing
control-specific database connections.