Help with creating a new control

Discussion in 'ASP .Net Building Controls' started by WAkthar, Nov 29, 2005.

  1. WAkthar

    WAkthar Guest

    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
     
    WAkthar, Nov 29, 2005
    #1
    1. Advertising

  2. WAkthar

    Sundararajan Guest

    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
    >
    >
    >
     
    Sundararajan, Nov 29, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ravi Ambros Wallau
    Replies:
    0
    Views:
    4,091
    Ravi Ambros Wallau
    Jun 1, 2005
  2. J
    Replies:
    0
    Views:
    224
  3. Jelle Smet
    Replies:
    5
    Views:
    575
    Piet van Oostrum
    May 9, 2009
  4. Ravi Ambros Wallau
    Replies:
    0
    Views:
    313
    Ravi Ambros Wallau
    Jun 1, 2005
  5. Replies:
    2
    Views:
    465
    Thomas 'PointedEars' Lahn
    Mar 11, 2008
Loading...

Share This Page