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

ToolTip opens on other images

1 Answer 49 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Officialboss
Top achievements
Rank 1
Officialboss asked on 16 Mar 2009, 11:05 PM
I am using a ToolTipManager on a page which is inherited from a master page.
I have one image that shows a tooltip onmouseover.
I noticed that a blank tooltip pops up when I hover over an image which is far from the intended one.
Anyone have this issue? How can I prevent this.

Thanks

 function showToolTip(element) { 
 
        var tooltipManager = $find("<%= RadToolTipManager1.ClientID %>");         
        if (!tooltipManager) return
        var tooltip = tooltipManager.getToolTipByElement(element); 
        if (!tooltip) { 
            tooltip = tooltipManager.createToolTip(element); 
 
            tooltip.set_value(arguments[1].toString()); 
        } 
 
        tooltip.show(); 
    } 

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 19 Mar 2009, 01:19 PM
Hello Howard,

As far as I understood from your explanation, a tooltip shows for an image that you have not created one. I assume that in your implementation you have taken the logic of the following online demo :

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

but as you can see such a problem does not occur there. That is why I assume that the issue is caused by particular custom code you have implemented but I cannot tell what is the reason for the problem since I examine your code. Would you please open a new support ticket and send me a sample, fully runnable reproduction demo along with detailed reproduction steps and explanations of the actual and the desired behavior? Once I have a better understanding on what is actually happening in your project, I will do my best to help.

Kind regards,
Svetlina
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ToolTip
Asked by
Officialboss
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or