Поделиться через


Server Event Handling in ASP.NET Web Forms Pages

In ASP.NET Web Forms, when you work with server controls on the page, much of the page's logic involves responding to events raised by controls. However, events work somewhat differently in ASP.NET Web Forms pages than in client applications.

Note

This topic applies only to ASP.NET Web Forms pages. It does not apply to pages that you create using ASP.NET MVC (Model View Controller) or ASP.NET Web Pages.

The following topics explain the event-handling model for ASP.NET Web Forms pages and provide instructions on how to create event handlers.

In This Section