JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Using the HtmlGenericControl Class

This class creates a basic control for an HTML element. It defines the methods, properties, and events for all HTML server control tags not represented by a specific .NET Framework class. Here is the inheritance hierarchy for this class:

Object
   Control
      HtmlControl
         HtmlContainerControl
            HtmlGenericControl

You can find the notable public properties of HtmlGenericControl objects in Table 19.30. (This class has no non-inherited methods or events.) Note that as with other HTML server controls, I am not listing the notable properties, methods, and events this class inherits from the Control class; you can find them in Chapter 15, Tables 15.1 to 15.3. This class also inherits the HtmlControl class—you can find that class in Table 19.2—and the HtmlContainerControl class, which you can find in Table 19.3.

Table 19.30: Noteworthy public properties of HtmlGenericControl objects.

Property

Means

TagName

Gets/sets the tag name of an element.

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor