Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

XhtmlLinkAdapter Class

Note: This API is now obsolete.

Provides a link adapter class for the XHTML 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.XhtmlAdapters
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.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class XhtmlLinkAdapter : XhtmlControlAdapter

The XhtmlLinkAdapter type exposes the following members.

  NameDescription
Public methodXhtmlLinkAdapterInitializes a new instance of the XhtmlLinkAdapter 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 propertyControlGets a reference to the Link object with which the adapter is associated. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Protected propertyCssLocationIndicates whether the style sheet is located as an external physical file, is internal to the current page, is stored in the current session state, or is stored in the application cache. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
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 propertyDocumentTypeIndicates the type of XHTML markup used to render the current document. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
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 propertyPageAdapterGets the page adapter for the page 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 XhtmlControlAdapter.)
Protected propertySecondaryUIModeGets the current secondary UI mode. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
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.)
Protected propertyStyleSheetLocationAttributeValueGets the value of the CssLocation attribute, if it exists, from the form in which it is contained. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected propertyStyleSheetStorageApplicationSettingGets the value of the XhtmlCssState configuration setting in the appSettings section of the Web.config file. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
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 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.)
Protected methodClearPendingBreakIfDeviceBreaksOnBlockLevelClears a pending break if the target device breaks on block elements. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalClearCachedEndTagClears the given text writer's current end tag if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalClearPendingBreakClears a pending break in the target device if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalEnterFormatBegins a section with the opening tag and attributes that implement the formats of the specified style, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalEnterLayoutBegins a section with the opening tag and attributes that implement the layout of the specified style, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalEnterStyle(XhtmlMobileTextWriter, Style)Writes the opening tag for a <span> section, along with attributes that implement the layout and character formatting of the specified style, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalEnterStyle(XhtmlMobileTextWriter, Style, String)Writes the opening tag of the specified element, along with attributes that implement the layout and character formatting of the specified style, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalExitFormatEnds a block that has been using the character formatting from a specified style, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalExitLayoutEnds a block that has been using the layout formatting from a specified style, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalExitStyleEnds a </span> element that has been using the layout and character formatting from a specified style, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalPopPhysicalCssClassRemoves the current cascading style sheet class name from the XhtmlMobileTextWriter object, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalRenderClassAttributePuts a class name attribute on the next element to be rendered, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalRenderClosingDivElementRenders a closing </div> tag if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalRenderClosingSpanElementRenders a closing </span> element if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalRenderCustomAttribute(XhtmlMobileTextWriter, String)Gets the value of the attribute with the specified name from the associated control and renders it on the next element with the specified name if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalRenderCustomAttribute(XhtmlMobileTextWriter, String, String)Includes a custom attribute with the specified name and value in the next element to be rendered, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalRenderOpeningDivElementRenders an opening tag for a <div> element if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalRenderOpeningSpanElementRenders an opening tag for a <span> element, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalSetPendingBreakSets a pending break if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodConditionalSetPendingBreakAfterInlineSets a pending break after inline elements if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
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 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 XhtmlControlAdapter.)
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 methodGetCustomAttributeValue(String)Gets the value of the specified attribute from the markup of 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 XhtmlControlAdapter.)
Protected methodGetCustomAttributeValue(MobileControl, String)Gets the value of the specified attribute from a given 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 XhtmlControlAdapter.)
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 a hash function for a particular type. (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 view state data specific to this 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 XhtmlControlAdapter.)
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.)
Protected methodPreprocessQueryStringGets the portion of the given query string that contains parameters for processing 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 XhtmlControlAdapter.)
Public methodRender(HtmlTextWriter)Displays the associated control and all of its child controls on the client. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Public methodRender(XhtmlMobileTextWriter)Renders the control and its content on the client using the provided XhtmlMobileTextWriter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Overrides XhtmlControlAdapter.Render(XhtmlMobileTextWriter).)
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 XhtmlControlAdapter.)
Protected methodRenderBeginLink(XhtmlMobileTextWriter, String)Renders the opening tag of a link using the given XhtmlMobileTextWriter and target. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodRenderBeginLink(XhtmlMobileTextWriter, String, String, Style, String)Renders the opening tag of a link using the given XhtmlMobileTextWriter and target, as well as the given styles or the given cascading style sheet class name. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodRenderBeginLink(XhtmlMobileTextWriter, String, String, Style, String, String)Renders the opening tag of a link using the given XhtmlMobileTextWriter and target, as well as either the given styles or the given cascading style sheet class name, the access key, and the title text. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
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 methodRenderClosingListTagRenders a closing tag for a specified list element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodRenderEndLinkRenders a closing tag (</a>) for a link element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodRenderOffPageVariablesRenders hidden postback variables for child controls that are not visible due to pagination or secondary 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 XhtmlControlAdapter.)
Protected methodRenderOpeningListTagRenders an opening tag for the specified tag name. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodRenderPostBackEventAsAnchor(XhtmlMobileTextWriter, String, String)Renders a postback event as a link with the specified argument and text. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodRenderPostBackEventAsAnchor(XhtmlMobileTextWriter, String, String, String)Renders a postback event as a link with the specified argument, text, and access key. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Protected methodRenderPostBackEventAsAnchor(XhtmlMobileTextWriter, String, String, String, Style, String)Renders a postback event as a link with the specified argument, text, and access key, as well as the specified styles or the specified cascading style sheet class name. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. (Inherited from XhtmlControlAdapter.)
Public methodSaveAdapterStateSaves view-state data specific to this 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 XhtmlControlAdapter.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

The control adapters in the System.Web.UI.MobileControls.Adapters.XhtmlAdapters namespace provide XHTML rendering and processing for mobile controls on a variety of display devices.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Obsolete (compiler warning) in 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.