Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

How to add tooltip for link

  Asked By: Raven    Date: Jul 06    Category: Sharepoint    Views: 3500

Does any one know how to add tooltip for a link in sharepoint.I have links in webpart in my webpartpage,i need to add tooltip for each link.If any one knows,could you pls send me sample code.



2 Answers Found

Answer #1    Answered By: Kristy Hicks     Answered On: Jul 06
Answer #2    Answered By: Amanda Brown     Answered On: Jul 06

If u wnt the toop tip be a static and same for the entire life time, add  directly in the form:

<asp:WebControl ToolTip="String" />

If you wanna change the tooltip  depending on a condition, add from the code(Dynaimc):

WebControl.Attributes.Add("title","Dynamic ToolTip");

Didn't find what you were looking for? Find more on How to add tooltip for link Or get search suggestion and latest updates.