O'Reilly logo

Pro C# 2010 and the .NET 4 Platform, Fifth Edition by Andrew Troelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required