473,320 Members | 1,920 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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

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

http://msconline.maconstate.edu/Tuto...pnet05-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>

Jun 21 '06 #1
1 1385
It's only supported in ASP.NET 2.0. VS 2003 does not do the job...

Mad Scientist Jr wrote:
I found some info on creating an imagemap in .NET at

http://msconline.maconstate.edu/Tuto...pnet05-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>


Jun 21 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Mike Dickens | last post by:
hi, i'm sure this has come up before but havn't managed to find an answer. if i have the following xslt <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet method="xml" version="1.0"...
8
by: Mark Goldin | last post by:
I have a toolbar on my form. How do I know what button was clicked?
0
by: PauwlL | last post by:
I'm lost. I've built a toolbar for IE that is based on the BandObjectLib, and it works fine under Win2K and Win2K3. When I run under explorer, the toolbar name appears in View..Toolbars, but...
4
by: Michael C | last post by:
I've create a class called PointPolar which is similar to the System.Drawing.Point class but it's a polar point instead of catesian. I've found it's possible for me to put it in the System.Drawing...
3
by: Jacky Luk | last post by:
using system is not enough Thanks Jack
0
by: Jim Andersen | last post by:
I have a .Net 2.0 project called MyProj. I use VB. In my appcode folder I have a .vb file (module1.vb) with different functions I call from my forms (aspx-pages). Module1.vb starts with some...
5
by: rogersw8n | last post by:
Some how, some way the account that creates folders under Temporary Internet files has been changed to a domain account for VS 2003 and VS 2005. I recently installed VS 2005. All seemed to be ok...
2
by: Wayne | last post by:
Does anybody know why my Office 2003 apps including Access have taken on a blue theme when running under Windows Vista irrespective of which "Window Color and Appearance" I choose in Control Panel?...
0
by: DamienS | last post by:
Hi, I have a situation where I have custom user controls 'cut out' of the background image of a master page. Basically, I've used photoshop to export a sliced image which is used in the master...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.