ControlAdapter.LoadPostData Method

Returns true if the adapter handles loading the post data.

Namespace: System.Web.UI.MobileControls.Adapters
Assembly: System.Web.Mobile (in system.web.mobile.dll)

public:
virtual bool LoadPostData (
	String^ key, 
	NameValueCollection^ data, 
	Object^ controlPrivateData, 
	[OutAttribute] bool% dataChanged
)
public boolean LoadPostData (
	String key, 
	NameValueCollection data, 
	Object controlPrivateData, 
	/** @attribute OutAttribute() */ /** @ref */ boolean dataChanged
)
Not applicable.

Parameters

key

Identifies the control.

data

Contains the collection of all incoming name values.

controlPrivateData

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

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

Return Value

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

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

NoteNote:

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

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1

Community Additions

ADD
Show: