Freshblood
Freshblood

Reputation: 6431

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

Answers (2)

Kris van der Mast
Kris van der Mast

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

S P
S P

Reputation: 4643

Through delegates

Upvotes: 1

Related Questions