If a page_load event is declared both in the ASPX page and in the code-behind file, which one executes first?

Choose the correct answer

Explanation

When a page_load event is present in both the ASPX markup and the code-behind, the event handler in the code-behind file executes first, as it contains the server-side logic that runs during the page lifecycle.

If a page_load event is declared both in the ASPX pa… — ASP.net | PakQuizHub