System.Web.UI.WebControls.TreeView.LoadPostData Method

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

Syntax

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

Parameters

postDataKey
The key identifier for the control.
postCollection
The collection of all incoming name values.

Returns

true, if the System.Web.UI.WebControls.TreeView 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 the TreeView.LoadPostData(string, System.Collections.Specialized.NameValueCollection) method call, and then invokes the TreeView.RaisePostDataChangedEvent method on those controls.

Requirements

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