Export (0) Print
Expand All

HtmlTextViewAdapter Class

Note: This API is now obsolete.

Provides a text view adapter class for the HTML adapter set. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:  System.Web.UI.MobileControls.Adapters
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class HtmlTextViewAdapter : HtmlControlAdapter

The HtmlTextViewAdapter type exposes the following members.

  NameDescription
Public methodHtmlTextViewAdapterCreates an instance of the HtmlTextViewAdapter class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Top

  NameDescription
Protected propertyControlReturns a strongly typed reference to the associated control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Public propertyDeviceReturns the device capabilities object associated with the request. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from ControlAdapter.)
Protected propertyFormAdapterRetrieves the form adapter for the form on which the associated control resides. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Public propertyItemWeightAccesses the approximate weight of a single item in the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from ControlAdapter.)
Public propertyPageReturns the page associated with the device adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from ControlAdapter.)
Protected propertyPageAdapterReturns the page adapter for the mobile page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Public propertyRequiresFormTagGets a value indicating whether an adapter, such as the ChtmlCommandAdapter class, generates markup that requires <Form> tags for form submission. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Protected propertySecondaryUIModeSets or returns the secondary user interface (UI) mode for the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Public propertyStyleReturns the style object associated with the control to which the device adapter is attached. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from ControlAdapter.)
Public propertyVisibleWeightGets or sets the approximate weight of the control, in characters. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from ControlAdapter.)
Top

  NameDescription
Protected methodAddAccesskeyAttributeWrites a custom attribute access key method, provided that the device supports the attribute. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Protected methodAddAttributesWrites additional attributes that are specific to an adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Protected methodAddJPhoneMultiMediaAttributesUse this method to write custom attributes for J-Phone multimedia attributes. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Protected methodCalculateOptimumPageWeightDetermines the optimum page weight for the device. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from ControlAdapter.)
Public methodCreateTemplatedUICalled by a control to create a templated user interface (UI). This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from ControlAdapter.)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodExitSecondaryUIModeExits any secondary user interface (UI) mode for the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected methodGetDefaultLabelReturns the localized default string for the label control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from ControlAdapter.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodHandlePostBackEventReturns true if the event was handled. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from ControlAdapter.)
Public methodLoadAdapterStateLoads the view state. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Public methodLoadPostDataReturns true if the adapter handles loading the post data. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from ControlAdapter.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodOnInitCalled after an object, such as a form or a page, is initialized. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from ControlAdapter.)
Public methodOnLoadLoads data that pertains to a control, a page, or a device adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from ControlAdapter.)
Public methodOnPreRenderCalled by the control's OnPreRender method, to perform adapter-specific work prior to rendering. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from ControlAdapter.)
Public methodOnUnloadUnloads data that pertains to a control, a page, or a device adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from ControlAdapter.)
Public methodRender(HtmlMobileTextWriter)Generates the target-specific markup for the control to which the control adapter is attached. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Overrides HtmlControlAdapter.Render(HtmlMobileTextWriter).)
Public methodRender(HtmlTextWriter)Generates the target-specific markup for the associated control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Protected methodRenderAsHiddenInputFieldRenders hidden field text for a control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Protected methodRenderBeginLinkRenders the opening tag of a link. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Protected methodRenderChildrenRenders children of the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from ControlAdapter.)
Protected methodRenderEndLinkRenders the end tag of a link. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Protected methodRenderPostBackEventAsAnchorRenders a postback event as an anchor, with the text specified by the linkText parameter as a label. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Protected methodRenderPostBackEventAsAttributeRenders a postback event as an attribute. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Protected methodRenderPostBackEventReferenceRenders a postback event reference. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Public methodSaveAdapterStateThis method is called when the control saves its private view state. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from HtmlControlAdapter.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2
Obsolete (compiler warning) in 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft