views:

63

answers:

1

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  A: 

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

John Saunders
John, that is what I thought, but looking at the generated class in Reflector reveals that this is not the case.
driis
Is this a Web Site Project, or a Web Application Project?
John Saunders
Web application project.
driis