ImageButton.LoadPostData(String, NameValueCollection) Method

Definition

Processes posted data for the ImageButton 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 value used to index an entry in the collection.

postCollection
NameValueCollection

A NameValueCollection that contains post information.

Returns

Returns false for all cases.

Remarks

The LoadPostData member is used primarily by control developers when deriving a custom class from the ImageButton control.

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

Applies to

See also