Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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,
	out bool dataChanged
)
boolean LoadPostData (
	String postDataKey, 
	NameValueCollection postCollection, 
	Object controlPrivateData, 
	/** @attribute OutAttribute() */ /** @ref */ boolean dataChanged
)
JScript does not support passing value-type arguments by reference.

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.