HtmlGenericControl.HtmlGenericControl() Constructor
.NET Framework 3.0
Initializes a new instance of the HtmlGenericControl class with default values.
Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
Use this constructor to create and initialize a new instance of the HtmlGenericControl class using the default values. It is commonly used to dynamically create a server-side <span> element.
The following table shows initial property values for an instance of HtmlGenericControl.
| Property | Initial Value |
|---|---|
| TagName | The "span" literal string. |
Community Additions
ADD
Show: