This example shows one way of using RadToolTip together with an image map.
Often there is a need to display additional infomration when the user hovers over image map regions. This can be acomplished with RadToolTip in order
to provide richer experience for the users - with RadToolTip you can show any kind of content - images, pages, user controls, etc.

There are several matters to be considered in this case:
  1. Such behavior cannot be achieved without additional JavaScript. This is needed because the asp:ImageMap control itself does not provide IDs for the hotspots and RadToolTip / RadToolTipManager needs an ID to which it can attach.
  2. If your asp:ImageMap control has the HotSpotMode property set to Navigate, you will need to make sure that the postback, that would occur when clicking on area, is cancelled.


Please, note that the image map renders content which is not XHTML compliant (due to the way the ID is formed and also the name attribute of the map) - that is why the demo will not successfully pass validation and the RadToolTip control is not the reason for it but the standard image map.



Note: Since the target areas are not real separate elements, the tooltip should be configured to be relative to the mouse.