System.Web
1.0.5000.0
2.0.0.0
Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.
System.Web.UI.HtmlControls.HtmlContainerControl
System.Web.UI.ConstructorNeedsTag(true)
Use this class to represent an HTML server control element not directly represented by a .NET Framework class, such as <span>, <div>, <body>, or <font>.
For a list of initial property values for an instance of , see the constructor.
This control can be used to display user input, which might include malicious client script. Check any information that is sent from a client for executable script, SQL statements, or other code before displaying it in your application. ASP.NET provides an input request validation feature to block script and HTML in user input. Validation server controls are also provided to assess user input. For more information, see Validation Server Controls and Introduction to Validating User Input in ASP.NET Web Pages.
Defines the methods, properties, and events for all HTML server control elements not represented by a specific .NET Framework class.
Constructor
Use this constructor to create and initialize a new instance of the 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 .
-
Property
Initial Value
-
TagName
The "span" literal string.
Initializes a new instance of the class with default values.
1.0.5000.0
2.0.0.0
Constructor
Use this constructor to create and initialize a new instance of the class using the specified tag. This allows you to dynamically create any HTML server control element not directly represented by a .NET Framework class.
The following table shows initial property values for an instance of .
-
Property
Initial Value
-
TagName
The value of the parameter.
If the parameter is null, the property is set to .
Initializes a new instance of the class with the specified tag.
The name of the element for which this instance of the class is created.
1.0.5000.0
2.0.0.0
Property
System.String
To be added: an object of type 'string'
Use this property to programmatically determine the element name of the HTML server control. For example, the property for a server-side <span id="MySpan" runat= "server"/> element contains the value "span".
Gets or sets the name of the HTML element represented by the control.
1.0.5000.0
2.0.0.0
System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
System.ComponentModel.DefaultValue("")