Redigera

Dela via


ImageMap.RaisePostBackEvent(String) Method

Definition

Raises events for the ImageMap control when a form is posted 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 page passes the value of the eventArgument parameter to the RaisePostBackEvent method of the ImageMap control. The ImageMap raises a Click event for the HotSpot object that was clicked.

Notes to Inheritors

To handle a click event in a derived class, override the OnClick(ImageMapEventArgs) method.

Applies to

See also