HtmlInputHidden.LoadPostData(String, NameValueCollection) Method

Definition

Processes the postback data for the HtmlInputHidden control.

protected:
 virtual bool LoadPostData(System::String ^ postDataKey, System::Collections::Specialized::NameValueCollection ^ postCollection);
protected virtual bool LoadPostData (string postDataKey, System.Collections.Specialized.NameValueCollection postCollection);
abstract member LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
override this.LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
Protected Overridable 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 name values.

Returns

true if the HtmlInputHidden control's state has changed as a result of the postback; otherwise, false.

Remarks

The LoadPostData method checks to see whether the postback value of the HtmlInputHidden control is different from the previous value, and if so, returns true.

The LoadPostData method is used primarily by control developers extending the functionality of the HtmlInputHidden control.

Applies to