Which of the following page events is raised after the start stage is complete and before the initialization stage begins?

Which of the following page events is raised after the start stage is complete and before the
initialization stage begins?

Which of the following page events is raised after the start stage is complete and before the
initialization stage begins?

A.
PreInit

B.
Init

C.
InitComplete

D.
LoadComplete

Explanation:
The Page.PreInit event is used to perform the following tasks:
It checks the IsPostBack property to decide whether this is the first time the page is being processed.
It creates or re-creates dynamic controls.
It sets a master page dynamically.

It sets the Theme property dynamically.
It reads or sets profile property values.
Answer B is incorrect. The Page.Init event is raised only if all controls have been initialized and any
skin settings have also been applied. The Init event of individual controls occurs before the Init event
of the page. The Page.Init event can be used to read or initialize control properties.
Answer C is incorrect. This event is raised at the end of the page’s initialization stage.
Answer D is incorrect. This event is raised at the end of the event-handling stage.



Leave a Reply 0

Your email address will not be published. Required fields are marked *