As with traditional forms, when you work with server controls on a Web Forms page, much of the page's logic involves responding to events raised by controls. However, events work somewhat differently in Web Forms pages than in client-based forms such as Windows Forms.
The following topics explain the event-handling model for Web Forms pages and provide instructions on how to create event handlers.
In This Section
- ASP.NET Server Control Event Model
- Explains how events that originate on the client (browser) are handled in server-side code.
- Creating Event Handlers in Web Forms Pages
- Gives details on how to create event handlers using the Web Forms Designer.
- Binding to an Existing Event Handler in Web Forms Pages
- Gives details on how to bind an existing event handler to an event in Web Forms pages.
- Creating an Event Handler at Run Time in Web Forms Pages
- Gives details on how to create event handlers for an event at run time.
- Connecting Multiple Events to a Single Event Handler in Web Forms Pages
- Gives details on how to connect multiple events to a single event handler in Web Forms pages at run time.
Related Sections
- Handling and Raising Events
- Links to detailed discussions of how events and event handlers function in ASP.NET.
- ASP.NET Server Controls
- Describes the controls available for use on Web Forms pages.