SelectionList::LoadPostData Method (String^, NameValueCollection^)

 

Processes the postback data for this control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

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

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

Parameters

postDataKey
Type: System::String^

The key identifier for the control.

postCollection
Type: System.Collections.Specialized::NameValueCollection^

The collection of all incoming named values.

Return Value

Type: System::Boolean

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

Exception Condition
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.

.NET Framework
Available since 2.0
Return to top
Show: