|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Server Event Handling in ASP.NET Web Pages
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.