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

RadToolTip inside a Usercontrol

1 Answer 134 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Nervon
Top achievements
Rank 1
Nervon asked on 20 Jul 2007, 08:47 PM
Hello,

I have a situation in which a RadTooltip is sitting in conjunction with an image that displays it in a usercontrol.  When the usercontrol (.ascx file) is added to a page more than once, the tool tip shows fine for the first instance of the control, but it fails to show at all for the other instances of said user control.  Any thoughts on why?

Thanks,
KC

1 Answer, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 23 Jul 2007, 07:01 AM
Hello KC,

From the provided information, it seems that all tooltip instances rendered on the client resolve to the same target element (e.g. the target element in the first instance of the rendered user control).
This will happen if your target control is rendered (multiple times) with the same client id on the client browser.
Please use the "View Source.." browser option to examine the ID of your [target control] image, as well as the TargetControlID setting of each tooltip.
The tooltips initialization strings are rendered at the bottom of the page and you can easily check whether they point to the same or different target controls.

Sincerely yours,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ToolTip
Asked by
Nervon
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Share this question
or