Server Event Handling in Web Forms Pages
This page is specific to:.NET Framework Version:1.12.0
Visual Basic and Visual C# Concepts
Server Event Handling in Web Forms Pages

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.
© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View