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

Tool tip popping up unexpectedly

1 Answer 55 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 15 Feb 2008, 11:27 AM
I'm using the Tool Tip Manager to show a tool tip when a person clicks on a link in a repeater.  The repeater is within an update panel.

Now, everything works well when I have data in the repeater.  I click on the link, the tool tip shows up, I click on a link within the tool tip panel which calls a server side function and my update panel and repeater refreshes.  Looks great!

However!  When I have no data in the repeater, if I click elsewhere on the page, such as my main logo image which links to default.aspx, or if I click on the Rad Scheduler which I also have on that page, the tool tip pops up!

I'm not sure how the tool tip is being raised in this case.  I'd like to know, or perhaps force the tool tip manager to be disabled if there are no items in the repeater.

Hope you can advise!


1 Answer, 1 is accepted

Sort by
0
Accepted
Tsvetie
Telerik team
answered on 15 Feb 2008, 02:29 PM
Hello Oliver,
This behavior is by design - in case the TargetControls collection of the RadToolTipManager is empty, the manager tooltipifies all elements on the page that have a Title/ToolTip attribute. In case you do not want to use this feature, you should set the Visible property of the manager to false, when that collection is empty, and set it back to true as soon as you add IDs to it.

All the best,
Tsvetie
the Telerik team

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