System.Web.UI.WebControls.DropDownList.LoadPostData Method

Processes postback data for the System.Web.UI.WebControls.DropDownList control.

Syntax

protected virtual bool LoadPostData (string postDataKey, System.Collections.Specialized.NameValueCollection postCollection)

Parameters

postDataKey
The index within the posted collection that references the content to load.
postCollection
The collection of all incoming name values posted to the server.

Returns

true if the System.Web.UI.WebControls.DropDownList control's state changes as a result of the postback event; otherwise, false.

Remarks

The ASP.NET page framework tracks all the server controls that return true from this method call, and then invokes the DropDownList.RaisePostDataChangedEvent method on the System.Web.UI.WebControls.DropDownList control.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0