HtmlSelect.InnerText Property

 

Gets or sets the content between the opening and closing tags of the control with automatic conversion of special characters to their equivalent HTML entities. This property is not supported for this control.

Namespace:   System.Web.UI.HtmlControls
Assembly:  System.Web (in System.Web.dll)

public override string InnerText { get; set; }

Property Value

Type: System.String

The content between the opening and closing tags of the control.

Exception Condition
NotSupportedException

An attempt is made to read from or assign a value to this property.

System_CAPS_cautionCaution

Do not read from or assign a value to this property. Otherwise, a System.NotSupportedException exception is thrown. This property is inherited from the HtmlContainerControl class and is not applicable to the HtmlSelect class.

.NET Framework
Available since 1.1
Return to top
Show: