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

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
spmcmorrowAsked:
Who is Participating?
 
orbulatConnect With a Mentor Commented:
LinkButton1.Attribute.Add("title", "this is the message");

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

seems if it's ok
0
 
orbulatCommented:
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
 
pradeepsudharsanCommented:
for web forms controls
    Button1.ToolTip = "click this"
        LinkButton1.ToolTip = "test this"
0
 
pradeepsudharsanCommented:
<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
 
kaliyugkaarjunCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.