System.Web.UI.ChtmlTextWriter Class

Writes a series of cHTML-specific characters and text to the output stream of an ASP.NET server control. The System.Web.UI.ChtmlTextWriter class provides formatting capabilities that ASP.NET server controls use when rendering cHTML content to clients.

See Also: ChtmlTextWriter Members


public class ChtmlTextWriter : Html32TextWriter


Compact HTML, or cHTML, is a subset of HTML 2.0, HTML 3.2, and HTML 4.0, and is designed to render on devices with limited memory and CPU power, along with small display screens, limited formatting capabilities, and a limited number of input options (such as a cell phone touch pad). Therefore, cHTML does not support the following:

The System.Web.UI.ChtmlTextWriter class derives from the System.Web.UI.Html32TextWriter class and much of its functionality is provided by the System.Web.UI.Html32TextWriter and the base class for all markup text writers, which is the System.Web.UI.HtmlTextWriter class.


Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions:
Since: .NET 2.0