What Are Server Controls, Anyway?

Before we get into the subtleties of HtmlControls and WebControls, we should really explain what a server control is. All server controls inherit from the System.Web.UI.Control class in the .NET Framework. As such, they share a common set of methods and properties that describe how all controls behave. In fact, all of the controls described in the next several chapters share a common heritage: They all inherit from the System.Web. UI.Control class.

For those of you who have never developed with Visual Basic or a similar application, the concept of controls might be new to you. Basically, a control is a programmatic object that is rendered as a part of the user interface (UI). With the right development application, ...

Get ASP.NET by Example 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.