This is a migrated thread and some comments may be shown as answers.

How do I choose the content for a ToolTipManager?

1 Answer 43 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Richard M
Top achievements
Rank 1
Richard M asked on 10 Nov 2010, 11:36 PM
I want to use the ToolTipManager for 4 different links.  But I want to use the same content for each ToolTip.  How would I use a table, which includes several controls, for each ToolTip?  How do you add decide the content to display in a ToolTipManager?  In a RadToolTip, it is easy.  I just place my content between the <telerik:RadToolTip></telerik:RadToolTip> tags.  But you cannot do that in a ToolTipManager.

1 Answer, 1 is accepted

Sort by
0
Accepted
Svetlina Anati
Telerik team
answered on 11 Nov 2010, 03:53 PM
Hello Richard M,

 The RadToolTipManager control is most pften used to load the content on demand, This can be done in two manners:

1) By using AJAX - in this case you handle teh OnAjaxUpdate event and add the desired content to the internal update panel as shown in the demo below:

http://demos.telerik.com/aspnet-ajax/tooltip/examples/default/defaultcs.aspx

2) By using a WebService - in this case you return the desired content as a string as shown below:

http://demos.telerik.com/aspnet-ajax/tooltip/examples/webservice/defaultcs.aspx

If the content is simple you can set it to the target's ToolTip/Title/AlternateText property and the manager will automatically get the content of teh property and it will display it in a RadToolTip.


On a side note, when you install RadControls, our online examples projects are automatically installed on your computer and you can not only examine their full source code, but also extend them further in order to meet your requirements.

You can open the demos from here:

Start\Programs\Telerik\RadControls for ASPNET AJAX\Open Sample WebSite In VisualStudio

The actual location on your hard disk is the following one:

C:\Program Files\Telerik\RadControls for ASPNET AJAX \Live Demos

And finally, in case you encounter a problem, you should open a new support ticket and send a small reproduction demo with your exact setup and detailed explanations of the actual and the desired behavior.

I hope that my explanations and the provided information is helpful.


All the best,
Svetlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ToolTip
Asked by
Richard M
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or