Прочитај на енглеском Уреди

Делите путем


ImageButton.LoadPostData(String, NameValueCollection) Method

Definition

Processes posted data for the ImageButton control.

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

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

Производ Верзије
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also