Reputation: 6431
How events relationship between functions occur ?
For example:
When we click submit button how CLR or IIS determine which function has to 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.
Upvotes: 0
Views: 95
Reputation: 16613
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.
Upvotes: 2