Solved

How to get a tool tip over a text link or an asp button

Posted on 2006-06-28
5
231 Views
Last Modified: 2012-05-05
Does anyone know how to get a tool tip to show up for link on a web page?

I also want to do the same for an asp button

Thanks
0
Comment
Question by:spmcmorrow
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 10

Accepted Solution

by:
orbulat earned 500 total points
ID: 17006787
LinkButton1.Attribute.Add("title", "this is the message");

Button1.Attribute.Add("title", "this is the message");

seems if it's ok
0
 
LVL 10

Expert Comment

by:orbulat
ID: 17006805
for server controls, in fact u can use "LinkButton1.ToolTip" to display the text

and use "title" attribute for non-server controls like <a href="abc.com" title="test">abc</a>
0
 
LVL 7

Expert Comment

by:pradeepsudharsan
ID: 17006820
for web forms controls
    Button1.ToolTip = "click this"
        LinkButton1.ToolTip = "test this"
0
 
LVL 7

Expert Comment

by:pradeepsudharsan
ID: 17006834
<INPUT id="butNew" style="Z-INDEX: 102; LEFT: 456px; WIDTH: 80px; POSITION: absolute; TOP: 176px; HEIGHT: 24px"  type="button" value="New" name="butNew" runat="server" title="Click me">
<a href="www.yahoo.com" title ="Click here"> </a>
0
 
LVL 8

Expert Comment

by:kaliyugkaarjun
ID: 17007669
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question