Редагувати

Поділитися через


SelectionList.LoadPostData(String, NameValueCollection) Method

Definition

Processes the postback data for this control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 bool LoadPostData(System::String ^ postDataKey, System::Collections::Specialized::NameValueCollection ^ postCollection);
protected bool LoadPostData (string postDataKey, System.Collections.Specialized.NameValueCollection postCollection);
member this.LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
Protected Function LoadPostData (postDataKey As String, postCollection As NameValueCollection) As Boolean

Parameters

postDataKey
String

The key identifier for the control.

postCollection
NameValueCollection

The collection of all incoming named values.

Returns

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

Exceptions

the call to LoadPostData(String, NameValueCollection, Object, Boolean) on the object referenced by Adapter returns false.

Remarks

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.

Applies to

See also