CHAPTER 16

image

Page and Control Lifecycle Events

We finished Chapter 15 by building on the functionality of the handler factory that receives requests for Web Form files and creates handlers that render the HTML they contain. Those handlers are instances of the System.Web.UI.Page class, which sits right at the heart of Web Form applications.

The process by which a Page class generates HTML from a Web Form is complex enough to have its own lifecycle and events that define it. In this chapter, we show you these events, explain how they fit into the overall ASP.NET request handling process, and demonstrate how some of the content in a Web Form can have ...

Get Pro ASP.NET 4.5 in C#, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.