Edit

Kongsi melalui


WmlObjectListAdapter Class

Definition

Caution

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.

Provides an object list adapter class for the Wireless Markup Language (WML) device adapter set. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public ref class WmlObjectListAdapter : System::Web::UI::MobileControls::Adapters::WmlControlAdapter
public class WmlObjectListAdapter : System.Web.UI.MobileControls.Adapters.WmlControlAdapter
[System.Obsolete("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.")]
public class WmlObjectListAdapter : System.Web.UI.MobileControls.Adapters.WmlControlAdapter
type WmlObjectListAdapter = class
    inherit WmlControlAdapter
[<System.Obsolete("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.")>]
type WmlObjectListAdapter = class
    inherit WmlControlAdapter
Public Class WmlObjectListAdapter
Inherits WmlControlAdapter
Inheritance
WmlObjectListAdapter
Attributes

Remarks

The WML object list adapter uses secondary user interface (UI) features to render the control across multiple screens.

Constructors

WmlObjectListAdapter()

Instantiates an instance of the WmlObjectListAdapter class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Properties

Control

Returns a strongly typed reference to the associated control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Device

Returns the device capabilities object associated with the request. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
FormAdapter

Retrieves 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 Mobile Apps & Sites with ASP.NET.

(Inherited from WmlControlAdapter)
ItemWeight

Accesses 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 Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
Page

Returns the page associated with the device adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
PageAdapter

Returns the page adapter for the mobile page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from WmlControlAdapter)
SecondaryUIMode

Sets 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 Mobile Apps & Sites with ASP.NET.

(Inherited from WmlControlAdapter)
Style

Returns 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 Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
VisibleWeight

Gets 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 Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)

Methods

CalculateOptimumPageWeight(Int32)

Determines the optimum page weight for the device. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
CreateTemplatedUI(Boolean)

Called 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 Mobile Apps & Sites with ASP.NET.

DeterminePostBack(String)

Determines whether the given target requires a postback and returns the required postback argument. Returns null if the target is an external link. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from WmlControlAdapter)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
ExitSecondaryUIMode()

Exits any secondary user interface (UI) mode for the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from WmlControlAdapter)
GetDefaultLabel(Int32)

Returns the localized default string for the label control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetPostBackValue()

Returns the postback value (or empty string) of the selected item in the selection list, when the parent form's action attribute is set and view state is disabled for the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from WmlControlAdapter)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
HandlePostBackEvent(String)

Returns true if the event was handled. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

HasCommands()

Returns true if an ObjectList contains a command. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

HasDefaultCommand()

Returns true if an ObjectList contains a default command. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

HasItemDetails()

Returns true if a details view of an ObjectList exists. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

LoadAdapterState(Object)

Loads the view state. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from WmlControlAdapter)
LoadPostData(String, NameValueCollection, Object, Boolean)

Returns true if the adapter handles loading the post data. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnInit(EventArgs)

Called 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 Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
OnLoad(EventArgs)

Loads 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 Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
OnlyHasDefaultCommand()

Returns true if an ObjectList contains a default command and no other commands. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

OnPreRender(EventArgs)

Sets the SecondaryUIMode for the control, and calls the PreShowItemCommands(Int32) method on its Control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

OnUnload(EventArgs)

Unloads 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 Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
Render(HtmlTextWriter)

Generates the target-specific markup for the control to which the control adapter is attached, using the provided writer. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from WmlControlAdapter)
Render(WmlMobileTextWriter)

Generates the target-specific markup for the control to which the control adapter is attached, using the provided writer. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderBeginLink(WmlMobileTextWriter, String, String, Boolean, Boolean)

Renders the opening tag of a link. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from WmlControlAdapter)
RenderChildren(HtmlTextWriter)

Renders children of the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
RenderEndLink(WmlMobileTextWriter, String, Boolean)

Renders the end tag of a link. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from WmlControlAdapter)
RenderItemDetails(WmlMobileTextWriter, ObjectListItem)

Renders the details of the specified item. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderItemMenu(WmlMobileTextWriter, ObjectListItem)

Renders the menu of commands for the specified item. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderItemsList(WmlMobileTextWriter)

Renders the menu of commands for the specified item. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderLink(WmlMobileTextWriter, String, String, Boolean, Boolean, String, Boolean)

Renders an entire link, with the specified text inside. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from WmlControlAdapter)
RenderPostBackEvent(WmlMobileTextWriter, String, String, Boolean, String, Boolean, WmlPostFieldType)

Renders a postback event with the control as a target. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from WmlControlAdapter)
RenderPostBackEvent(WmlMobileTextWriter, String, String, Boolean, String, Boolean)

Renders a postback event with the control as a target. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from WmlControlAdapter)
RenderSubmitEvent(WmlMobileTextWriter, String, String, Boolean)

Renders a form submission event appropriate for the device. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from WmlControlAdapter)
SaveAdapterState()

This 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 Mobile Apps & Sites with ASP.NET.

(Inherited from WmlControlAdapter)
ShouldRenderAsTable()

Returns a Boolean that indicates whether the list must be rendered as a table. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also