MobilePage.CreateHtmlTextWriter Method
.NET Framework 2.0
Creates an HtmlTextWriter object to render the page's content.
Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in system.web.mobile.dll)
MobilePage Members
System.Web.UI.MobileControls Namespace
HtmlTextWriter
Html32TextWriter
WmlTextWriter
ChtmlTextWriter
XhtmlTextWriter
Adapter Mappings
ASP.NET Mobile Application Development Overview
Walkthrough: Creating Web Pages for Mobile Devices
Assembly: System.Web.Mobile (in system.web.mobile.dll)
protected HtmlTextWriter CreateHtmlTextWriter ( TextWriter writer )
protected override function CreateHtmlTextWriter ( writer : TextWriter ) : HtmlTextWriter
Parameters
- writer
The TextWriter used to create the HtmlTextWriter.
Return Value
An HtmlTextWriter or a text writer derived from HtmlTextWriter, such as Html32TextWriter, WmlTextWriter, ChtmlTextWriter, or XhtmlTextWriter.The type of writer created is determined by the adapter associated with the current mobile device. For more information about how to map adapters to devices, see Adapter Mappings.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Reference
MobilePage ClassMobilePage Members
System.Web.UI.MobileControls Namespace
HtmlTextWriter
Html32TextWriter
WmlTextWriter
ChtmlTextWriter
XhtmlTextWriter
Other Resources
ASP.NET Device Filtering OverviewAdapter Mappings
ASP.NET Mobile Application Development Overview
Walkthrough: Creating Web Pages for Mobile Devices
Community Additions
ADD
Show: