PrepAway - Latest Free Exam Questions & Answers

Which page event should be utilized?

You work as a Web developer for ABC.com. You need to implement a page event that fires before
the page is initialized.
Which page event should be utilized?

PrepAway - Latest Free Exam Questions & Answers

A.
The PreLoad event would be raised.

B.
The OnLoad event would be raised.

C.
The PreInit event would be raised.

D.
The UnLoad event would be raised.

Explanation:
Developers and writers should note that the Page.PreInit event is used to check the
IsPostBack property deciding if it is the first time the page is processed and creates or re-creates
dynamic controls before setting master page dynamically.


Leave a Reply