asp.net.ph

Skip Navigation Links

HtmlGenericControl Server Control

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.

Applying HtmlGenericControl Styles Dynamically
Run Sample | View Source
See Also

HtmlGenericControl Syntax



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note