What should you do to make sure that the Page_Load method is executed when the Load event of the Wep page is fired?

You write the following code in your Web page:

You expect this code to be executed in response to the Load event of the ASP.NET page. However, when you request the page, you notice that the method is not executed. What should you do to make sure that the Page_Load method is executed when the Load event of the Wep page is fired?
A. Set the AutoEventWireup attribute of the @page directive to true.
B. Set the AutoEventWireup attribute of the @page directive to false.
C. Set the IsCallBack property of the page class to true.
D. Set the IsPostBack property of the page class to true.

microsoft-exams

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.