I have a tooltip that I would like to trigger from various elements on the page.
Is there a way for me to change the ToolTip's Target using Javascript so that the "element" positioning will cause the tooltip to move as other elements initiate the show?
Thanks,
Kevin
1 Answer, 1 is accepted
0
Svetlina Anati
Telerik team
answered on 18 Mar 2009, 12:13 PM
Hello Kevin,
Yes, it is possible to change the RadToolTip's target element on the client - this can be done by using its set_targetControlID client-side method. For your convenience I prepared the following code sample:
The two hyperlinks serve as target controls and the tooltip is declaratively associated with the first one. When you click the button, the second hyperlink becomes the target of the tooltip.