Page::CreateHtmlTextWriter Method (TextWriter^)
Creates an HtmlTextWriter object to render the page's content.
Assembly: System.Web (in System.Web.dll)
The following code example uses the HtmlTextWriter object named MyHtmlTextWriter. The method is overridden in the MyPage class, which is derived from Page, so that MyHtmlTextWriter renders ASP.NET server controls when the page is requested. Note that this example will prevent adapter TextWriter behavior.method to create an instance of a custom
Available since 1.1