Articles in this section
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

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment