The ImageMap.Click event is raised when a System.Web.UI.WebControls.HotSpot object in an System.Web.UI.WebControls.ImageMap control is clicked. To allow a System.Web.UI.WebControls.HotSpot to raise the ImageMap.Click event, you must first set either the ImageMap.HotSpotMode property on the System.Web.UI.WebControls.ImageMap control or the HotSpot.HotSpotMode property on the System.Web.UI.WebControls.HotSpot object to HotSpotMode.Postback.
To programmatically control the actions performed when a postback System.Web.UI.WebControls.HotSpot is clicked, provide an event handler for the ImageMap.Click event that contains the code to run when the event is raised.
Raising an event invokes the event handler through a delegate. For more information about handling events, see Consuming Events.