System.Web.UI.WebControls.ImageButton.LoadPostData Method

Processes posted data for the System.Web.UI.WebControls.ImageButton control.

Syntax

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

Parameters

postDataKey
The key value used to index an entry in the collection.
postCollection
A System.Collections.Specialized.NameValueCollection that contains post information.

Returns

Returns false for all cases.

Remarks

The ImageButton.LoadPostData(string, System.Collections.Specialized.NameValueCollection) member is used primarily by control developers when deriving a custom class from the System.Web.UI.WebControls.ImageButton control.

The System.Web.UI.WebControls.ImageButton checks to see if the x and y values were posted, which indicates that the image was clicked by the user. The System.Web.UI.WebControls.ImageButton then registers with the page that it wants to raise an event during the event-processing phase.

Requirements

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