XhtmlSelectionListAdapter.LoadPostData Method

Definition

Indicates whether the adapter has changed the selected state of any item during the current request. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 override bool LoadPostData(System::String ^ key, System::Collections::Specialized::NameValueCollection ^ data, System::Object ^ controlPrivateData, [Runtime::InteropServices::Out] bool % dataChanged);
public override bool LoadPostData (string key, System.Collections.Specialized.NameValueCollection data, object controlPrivateData, out bool dataChanged);
override this.LoadPostData : string * System.Collections.Specialized.NameValueCollection * obj * bool -> bool
Public Overrides Function LoadPostData (key As String, data As NameValueCollection, controlPrivateData As Object, ByRef dataChanged As Boolean) As Boolean

Parameters

key
String

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

data
NameValueCollection

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

controlPrivateData
Object

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

dataChanged
Boolean

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

Returns

true if the adapter handles loading the postback data; otherwise, false.

Applies to

See also