32.11. The Inheritance Chain of the Page Type

As you have just seen, all .NET web pages eventually derive from System.Web.UI.Page. Like any base class, this type provides a polymorphic interface to all derived types. However, the Page type is not the only member in your inheritance hierarchy. If you were to locate the System.Web.UI.Page class (within the System.Web.dll assembly) using the Visual Studio 2010 object browser, you would find that Page is-a TemplateControl, which is-a Control, which is-a Object (see Figure 32-23).

Figure 32.23. The inheritance chain of Page

Each of these base classes brings a good deal of functionality to each and ...

Get Pro C# 2010 and the .NET 4 Platform, 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.