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.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
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::Booleantrue 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.
Available since 2.0
SelectionList Class
System.Web.UI.MobileControls Namespace
ASP.NET Web Sites for Mobile Devices
Architectural Overview of Adaptive Control Behavior
Introduction to the SelectionList Control