HtmlTextWriter.InnerWriter Property
Gets or sets the text writer that writes the inner content of the markup element.
Assembly: System.Web (in System.Web.dll)
Inner markup content is the text found between the opening and closing tags of a markup language element.
If the InnerWriter property is set to a TextWriter object that is an instance of the HttpWriter class, this fact is noted and a separate reference is saved.
The following code example shows how to use a custom Web server control, derived from the WebControl class, that overrides the Render method. It uses the HtmlTextWriter class to write a <font> element. After it writes the opening tag of the element, it uses the InnerWriter property to write the string "<br> The time on the server:" and concatenates this string with the value of the DateTime.Now property.
Available since 1.1