HtmlForm HtmlImage
Defines the methods, properties, and events for all HTML server control elements not represented by a specific .NET Framework class.
The HtmlGenericControl provides an ASP.NET server-control implementation for all other HTML elements not directly represented by a specific HTML server control ( for example, <body >, <div >, <span >, and so on ).
The following sample illustrates using the HtmlGenericControl to dynamically change the background attribute of the HTML <body > element.
HtmlGenericControl Syntax
|