Edit

Share 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(string eventArgument);

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

Product Versions
.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