Redigera

Dela via


ImageButton.RaisePostBackEvent(String) Method

Definition

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

protected:
 virtual void RaisePostBackEvent(System::String ^ eventArgument);
protected virtual void RaisePostBackEvent (string eventArgument);
abstract member RaisePostBackEvent : string -> unit
override this.RaisePostBackEvent : string -> unit
Protected Overridable Sub RaisePostBackEvent (eventArgument As String)

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

See also