SelectionList.LoadPostData Method

Note: This method is new in the .NET Framework version 2.0.

Processes the postback data for this control.

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

protected:
bool LoadPostData (
	String^ postDataKey, 
	NameValueCollection^ postCollection
)
protected boolean LoadPostData (
	String postDataKey, 
	NameValueCollection postCollection
)
protected function LoadPostData (
	postDataKey : String, 
	postCollection : NameValueCollection
) : boolean

Parameters

postDataKey

The key identifier for the control.

postCollection

The collection of all incoming named values.

Return Value

true if the state of the SelectionList changes as a result of the postback; otherwise, false.

Exception typeCondition

Exception

the call to LoadPostData on the object referenced by Adapter returns false.

The LoadPostData method uses the LoadPostData method on the IControlAdapter object referenced by the Adapter property to load data into the control from the post data sent by the client browser. If there is no device-specific handling for loading the postback data on this control, then the IControlAdapter.LoadPostData method returns true.

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

Community Additions

ADD
Show: