HtmlSelect.InnerHtml Property

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.

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

public:
virtual property String^ InnerHtml {
	String^ get () override;
	void set (String^ value) override;
}
/** @property */
public String get_InnerHtml ()

/** @property */
public void set_InnerHtml (String value)

public override function get InnerHtml () : String

public override function set InnerHtml (value : String)

Not applicable.

Property Value

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

Exception typeCondition

NotSupportedException

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

Caution noteCaution:

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: