6.2. Web Control Classes

Web control classes are defined in the System.Web.UI.WebControls namespace. They follow a slightly more tangled object hierarchy than HTML server controls, as shown in Figure 6-2.

Figure 6.2. The web control hierarchy

This inheritance diagram includes some controls that you won't study in this chapter, including the data controls, such as the GridView, DetailsView, and FormView, and the validation controls. You'll explore these controls in later chapters.

6.2.1. The WebControl Base Class

Most web controls begin by inheriting from the WebControl base class. This class defines the essential functionality for tasks such ...

Get Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional, Second 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.