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

Делите путем


ImageButton.RaisePostBackEvent(String) Method

Definition

Raises events for the ImageButton control when it posts back to the server.

C#
protected virtual void RaisePostBackEvent(string eventArgument);

Parameters

eventArgument
String

The argument for the event.

Remarks

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

This method is used internally by the ImageButton control, when it is clicked, to raise a Click event and, if defined, a Command event.

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