Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Help with creating a new control

Reply
Thread Tools

Help with creating a new control

 
 
WAkthar
Guest
Posts: n/a
 
      11-29-2005
Hi
I am trying to create a new web user control which will allow me to display
a map with icons on it. My idea is to have a image control on in a web user
control and then draw some icons on it at different positions.
When the user mouse the mouse over one of these icons I need to be able to
display a message box with details regarding this icon.

Can anyone give me some ideas as to how I could implement this please??

Cheers


 
Reply With Quote
 
 
 
 
Sundararajan
Guest
Posts: n/a
 
      11-29-2005
Hi,

Just have <img> tags(HTML image controls and really u can write actions on
onmouseover and onmouseout client side events

or have a <asp:image> and in ur code behind write the code
img.attributes.add("onmouseover",<action u have to perform as javascript>)

this will go perfectly fine.

regards
--
S.Sundararajan


"WAkthar" wrote:

> Hi
> I am trying to create a new web user control which will allow me to display
> a map with icons on it. My idea is to have a image control on in a web user
> control and then draw some icons on it at different positions.
> When the user mouse the mouse over one of these icons I need to be able to
> display a message box with details regarding this icon.
>
> Can anyone give me some ideas as to how I could implement this please??
>
> Cheers
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error creating control..Server tag error w/ custom control on webf =?Utf-8?B?RGF2ZQ==?= ASP .Net 1 07-20-2006 08:39 PM
"Error Creating Control" when creating a custom control (Design Time). Can't see tooltip message. Ravi Ambros Wallau ASP .Net Web Controls 0 06-01-2005 02:36 PM
"Error Creating Control" when creating a custom control (Design Time). Can't see tooltip message. Ravi Ambros Wallau ASP .Net 0 06-01-2005 02:36 PM
Creating Server control's Control Array vivek ASP .Net 2 12-30-2003 07:09 AM
Creating user control/custom image control to handle multilingual site SamIAm ASP .Net 1 10-17-2003 08:41 AM



Advertisments