Where is the event handlers wired up when using AutoEventWireup?

186 Views Asked by At

I am trying to track down a bug in a web application, that seems to relate to AutoEventWireup being used. When and how is the events wired up when using AutoEventWireup ?

I know that it happens runtime, but exactly in which framework class/method ? (I am hoping that I will be able to step through the framework code).

1

There are 1 best solutions below

2
On

At runtime, your .aspx page is parsed, and the result is turned into a class. The wireup is done in this generated class.