Creates an System.Web.UI.HtmlTextWriter object to render the page's content.
- tw
- The System.IO.TextWriter used to create the System.Web.UI.HtmlTextWriter.
An System.Web.UI.HtmlTextWriter or System.Web.UI.Html32TextWriter.
The Page.CreateHtmlTextWriter(System.IO.TextWriter) method creates a System.IO.TextWriter through the System.Web.HttpRequest.Browser property of the System.Web.HttpContext.Request object associated with the page request. You can add a reference to an System.Web.UI.HtmlTextWriter in the browserCaps configuration section. Override the Page.CreateHtmlTextWriter(System.IO.TextWriter) method to perform custom lookup.