Web Form Server Controls

Let’s dig in again by investigating the base class from which all the objects in the System.Web.UI.WebControls namespace are created. This is a big part of the excitement in these controls as well as the others in the two following chapters. The primary properties are uniform because they are inherited from the base WebControl object.

WebControl

This is the name of the base object for all…ah? Yeah, Web server controls. As you look at its properties in Table 7.1, you can see that Microsoft has done a good job on this object and supplied all the meaty things necessary for programming with WebControl in a nice, neat way.

Table 7.1. WebControl Object Properties
Property Description
Attribute Returns the attributes collection ...

Get ASP.NET for Web Designers 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.