This documentation is archived and is not being maintained.

XhtmlSelectionListAdapter::LoadPostData Method

Indicates whether the adapter has changed the selected state of any item during the current request.

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

public:
virtual bool LoadPostData(
	String^ key, 
	NameValueCollection^ data, 
	Object^ controlPrivateData, 
	[OutAttribute] bool% dataChanged
) override

Parameters

key
Type: System::String

The ID of the control, which is used as a key into the postback data for the state of the control.

data
Type: System.Collections.Specialized::NameValueCollection

A NameValueCollection object containing the current selected state of the child elements for the control.

controlPrivateData
Type: System::Object

An array of the indexes of selected items from the previous request.

dataChanged
Type: System::Boolean%

true to indicate that the list of selected items has changed since the last request; otherwise, false.

Return Value

Type: System::Boolean
true if the adapter handles loading the postback data; otherwise, false.

Implements

IControlAdapter::LoadPostData(String, NameValueCollection, Object, Boolean%)

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: