IControlAdapter.LoadPostData Method

Returns true if the adapter handles loading the post data.

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

bool LoadPostData (
	String^ postDataKey, 
	NameValueCollection^ postCollection, 
	Object^ controlPrivateData, 
	[OutAttribute] bool% dataChanged
)
boolean LoadPostData (
	String postDataKey, 
	NameValueCollection postCollection, 
	Object controlPrivateData, 
	/** @attribute OutAttribute() */ /** @ref */ boolean dataChanged
)
Not applicable.

Parameters

postDataKey

Identifies the control.

postCollection

Contains the collection of all incoming name values.

controlPrivateData

Provides a place to send private data 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 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: