This documentation is archived and is not being maintained.
HtmlSelect.InnerHtml Property
.NET Framework 1.1
Gets or sets the content between the opening and closing tags of the control without automatically converting special characters to their equivalent HTML entities. This property is not supported for this control.
[Visual Basic] Overrides Public Property InnerHtml As String [C#] public override string InnerHtml {get; set;} [C++] public: __property String* get_InnerHtml(); public: __property void set_InnerHtml(String*); [JScript] public override function get InnerHtml() : String; public override function set InnerHtml(String);
Property Value
The content between the opening and closing tags of the control.
Exceptions
| Exception Type | Condition |
|---|---|
| NotSupportedException | An attempt is made to read from or assign a value to this property. |
Remarks
CAUTION Do not read from or assign a value to this property. Otherwise, a System.NotSupportedException is thrown. This property is inherited from the HtmlContainerControl class and is not applicable to the HtmlSelect class.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
HtmlSelect Class | HtmlSelect Members | System.Web.UI.HtmlControls Namespace | InnerText
Show: