Basic question about ASP.NET mechanism
How events relationship between functions occur ?
For example:
When we click submit button how CLR or IIS determine which function has t开发者_开发问答o work ?
I know how can relate functions with events but I dont know how background mechanism work.I don't know Is there reflection or another else.
ASP.NET has the concept of the Page Life Cycle. This is an ordered sent of events which are triggered. One important interface in this mechanism is the IPostbackEventHandler interface.
Update due to comment: The automatic eventing mechanism is turned on due to the AutoEventWireup="true" in the page directive.
Grz, Kris.
Through delegates
精彩评论