Solved

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

Posted on 2006-06-28
5
229 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
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

828 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