ImageMap.RaisePostBackEvent(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.