System.Web.UI.WebControls.HiddenField.LoadPostData Method

Processes postback data for a System.Web.UI.WebControls.HiddenField 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.HiddenField control's state changes as a result of the postback; otherwise, false.

Remarks

The Web Forms page framework tracks all the server controls that return true to this method call, then invokes the HiddenField.RaisePostDataChangedEvent 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