Home   |   QuickStart Welcome   |   ASP.NET   |   Web Services   |   How Do I...?   
  |   I want my samples in...      

ASP.NET 2.0 Quickstart Tutorials


The HtmlGenericControl provides an ASP.NET server control implementation for all unknown HTML server control tags not directly represented by a specific HTML server control (for example, <span>, <div>, <body>, and so on).

The following sample illustrates using the HtmlGenericControl control for the <body> tag.

VB HtmlGenericControl1.aspx
Run Sample View Source