Category / Section
Is it possible to have ImageMap inside CallbackPanel?
1 min read
Yes, It is possible to have ImageMap inside the CallbackPanel. For this we have to enable the callback through the HotSpot of the ImageMap. Please refer the below code snippet which illustrates this:
C#
foreach( HotSpot hotspot in RegionMap.HotSpots )
{
hotspot.NavigateUrl= string.Format( "javascript:callback1('{0}')",
hotspot.AlternateText );
}
VB
For Each hotspot As HotSpot In RegionMap.HotSpots
hotspot.NavigateUrl= String.Format("javascript:callback1('{0}')",
hotspot.AlternateText)
Next hotspot
End Sub
Please refer the sample from the below link which illustrates this:
http://help.syncfusion.com/support/samples/tools.web/6.1.0.23/i39333/imagemap.zip