what namespace (or GUI toolbar in VS 2003) is imagemap hotspot under?

M

Mad Scientist Jr

I found some info on creating an imagemap in .NET at

http://msconline.maconstate.edu/Tutorials/ASPNET2/ASPNET05/aspnet05-04.aspx

but in VS.NET I don't see any ImageMap object under
System.Web.UI.WebControls
or any ImageMap control on the Web Forms toolbox (just Image and Image
Button).

If I try pasting code such as below, .NET does not recognize the
ImageMap object.

Can someone explain how to add this?

Thanks!


<asp:ImageMap ID="ImageMap1" Runat="Server"
ImageUrl="ImageMap.jpg"
AlternateText="Web search image map"
HotSpotMode="Navigate">

<asp:RectangleHotSpot
AlternateText="Go to Google"
Left="49"
Top="36"
Right="216"
Bottom="148"
NavigateUrl="http://www.google.com"
Target="_blank"/>

<asp:CircleHotSpot
AlternateText="Go to AltaVista"
X="368"
Y="200"
Radius="76"
NavigateUrl="http://www.altavista.com"
Target="_blank"/>

<asp:polygonHotSpot
AlternateText="Go to Yahoo"
Coordinates="143,187, 237,249, 222,333, 107,333, 76,254"
NavigateUrl="http://www.yahoo.com"
Target="_blank"/>

</asp:ImageMap>
 

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top