HiddenField.LoadPostData Method (String, NameValueCollection)
.NET Framework (current version)
Processes postback data for a HiddenField control.
Assembly: System.Web (in System.Web.dll)
protected virtual bool LoadPostData( string postDataKey, NameValueCollection postCollection )
Parameters
- postDataKey
-
Type:
System.String
The key identifier for the control.
- postCollection
-
Type:
System.Collections.Specialized.NameValueCollection
The collection of all incoming name values.
Return Value
Type: System.Booleantrue if the HiddenField control's state changes as a result of the postback; otherwise, false.
The Web Forms page framework tracks all the server controls that return true to this method call, then invokes the RaisePostDataChangedEvent on those controls.
.NET Framework
Available since 2.0
Available since 2.0
Show: