When you work with server controls on an ASP.NET Web page, much of the page's logic involves responding to events raised by controls. However, events work somewhat differently in ASP.NET Web pages than in client-based forms such as Windows Forms.
The following topics explain the event-handling model for ASP.NET Web pages and provide instructions on how to create event handlers.