Moderate

In ASP.NET page framework an automatic way to associate page events and methods is______________?

Correct answer: C. AutoEventWireup attribute of the Page directive is set to true

  • A. It is not possible to set automatically page events and methods
  • B. AutoEventWireup attribute of the Page directive is set to False
  • C. AutoEventWireup attribute of the Page directive is set to true
  • D. All of the above

Explanation

Setting the Page directive's AutoEventWireup attribute to true automatically connects page events such as Page_Load with their matching methods. Setting it to false requires explicit event-handler wiring.

Last updated

Practise Web and Mobile Development

268 free Web and Mobile Development MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions