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

ToolTip opens on wrong event

2 Answers 66 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Officialboss
Top achievements
Rank 1
Officialboss asked on 11 Mar 2009, 09:35 PM
I have a hierarchy grid in a user control.

The User control is dynamically loaded onto a page which has an Image and a ToolTip attached to the Image as such.

When I hover over the header of my Telerik Grid, sort is allowed, the ToolTip pops up.
How can I prevent the tooltip from popping on the hover of any other element on the page and it should only popup when I hover on my Image.

Thanks

I am using IE6.

protected void Page_Load(object sender, EventArgs e) 
    imgImage1.Visible = true;
    imgImage1.Attributes.Add("onmouseover""showToolTip(this," + id + ");return true;"); 
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(); 

<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Position="TopLeft" 
    Skin="Web20" Style="font-size: 18px; text-align: center; font-family: Arial; margin-right:50px;" Animation="Slide"
    <WebServiceSettings Path="MyWebService.asmx" Method="MyMethod" /> 
</telerik:RadToolTipManager> 

    <div style="height:94%;z-index:100001;"
    <div style="position:fixed; float: right;"
    <asp:Image runat="server" ID="imgImage1" ImageUrl="~/Images/Icons/folder_1.png" Visible="false" /> 
    </div> 
    </div> 



2 Answers, 1 is accepted

Sort by
0
Officialboss
Top achievements
Rank 1
answered on 13 Mar 2009, 06:28 PM
It looks like no one else is having this problem.
0
Svetlina Anati
Telerik team
answered on 16 Mar 2009, 10:47 AM
Hi Howard,

I am not aware of such problem when using the RadToolTip in the mentioned scenario and I cannot tell what the reason could be until I examine and analyze the problem locally. Would you please isolate the problem and prepare a sample, fully runnable demo project (use Northwind or a fake datasource for the grid), open a new support ticket and send it to us? Please, also provide a few screenshots along with detailed reproduction steps and explanations of the actual and the desired behavior. Once we receive this, we will research the particular setup locally and we will do our best to help. 

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
Officialboss
Top achievements
Rank 1
Svetlina Anati
Telerik team
Share this question
or