System.Web.UI.WebControls.CheckBox.LoadPostData Method

Processes the postback data for the System.Web.UI.WebControls.CheckBox 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 posted to the server.

Returns

true if the posted content is different from the last posting; otherwise, false.

Remarks

The CheckBox.LoadPostData(string, System.Collections.Specialized.NameValueCollection) method is used primarily by control developers.

The CheckBox.LoadPostData(string, System.Collections.Specialized.NameValueCollection) method checks if the postback data of the System.Web.UI.WebControls.CheckBox control is different from its previous value, and if so, loads the content and returns true.

Requirements

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