HTML Control Classes

We aren’t going to examine the entire family tree or hierarchy of an object’s inheritance in this book, but you will learn about three objects in the System.Web.UI.HtmlControls namespace that are parents to the other remaining HtmlControls. The three parents are

  • HtmlControl

  • HtmlContainerControl

  • HtmlInput

HtmlControl

The HtmlControl object is pretty important to HTML server controls. Why, you ask? Because every property and method it has is inherited by every HTML server control, that’s why. If you learn the properties and methods of the HtmlControl class, you have learned about 80% of the properties and methods of all the objects in the System.Web.UI.HtmlControls namespace. This makes it pretty simple to understand the rest. ...

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.