Asp.Net AutoEventWireup - what makes code wise

I searched the page classes, TemplateControl and Control in the reflector, trying to figure out where the AutoEventWireUp property is actually used. I failed unsuccessfully.

My understanding of AutoEventWireUp is sketchy, but I think it causes the event handler methods to automatically connect to events? So I thought I would see the code where this happens, but this is not the case.

Where is AutoEventWireUp really used under the hood? Can I see the code in the reflector?

Thanks in advance!

+3
source share
1 answer

I was about to write an explanation, but C. Scott Allen has a much better option .

: AutoEventWireup OnEvent , , .

+2

Source: https://habr.com/ru/post/1704081/


All Articles