NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HtmlContainerControl.InnerHtml

Gets or sets the content found between the opening and closing tags of the specified HTML server control.

[Visual Basic]
Public Property InnerHtml As String
[C#]
public string InnerHtml {get; set;}
[C++]
public: __property String* get_InnerHtml();
public: __property void set_InnerHtml(String*);
[JScript]
public function get InnerHtml() : String;
public function set InnerHtml(String);

Property Value

The HTML content between opening and closing tags of an HTML server control.

Exceptions

Exception Type Condition
HttpException There is no HTML Server control to get the content from.

-or-

There is more than one HTML Server control.

-or-

The HTML Server control is not a literal control.

Remarks

This property does not provide automatic HTML encoding and decoding.

See Also

HtmlContainerControl Class | HtmlContainerControl Members | System.Web.UI.HtmlControls Namespace