ControlAdapter.LoadPostData(String, NameValueCollection, Object, Boolean) ControlAdapter.LoadPostData(String, NameValueCollection, Object, Boolean) ControlAdapter.LoadPostData(String, NameValueCollection, Object, Boolean) ControlAdapter.LoadPostData(String, NameValueCollection, Object, Boolean) Method

Definition

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.

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

Parameters

key
String String String String

Identifies the control.

data
NameValueCollection NameValueCollection NameValueCollection NameValueCollection

Contains the collection of all incoming name values.

controlPrivateData
Object Object Object Object

Provides a place to send data private to the control that might be required for loading of post data. The control determines the type that is passed to the parameter.

dataChanged
Boolean Boolean Boolean Boolean

Returns true if the required the object in privateControlData was changed, so the RaisePostDataChangedEvent() event can be raised.

Returns

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

Implements

Remarks

This method is called when a control that implements the System.Web.UI.IPostBackDataHandler interface has its own LoadPostData method invoked.

Note

Different devices might provide their data back to the calling server in different ways. An example is the difference between how WML and HTML report back the results of a SelectionList

Applies to

See also