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

[Solved] Tooltip show from other updatepanel postbacks

1 Answer 103 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Gregory Ott
Top achievements
Rank 1
Gregory Ott asked on 21 Jan 2008, 06:03 PM
I'm using the load ondemand with the tooltipmanager just as in the online example, this works fine.  However, I also have a RadToolBar on my page which is surrounded by an updatePanel.  Whenever an event is fired from the toolbar, it is showing the tooltip.  I tried to find a work around by handling the 

OnClientBeforeShow with the following code

function

OnClientBeforeShow(sender, eventArgs)

{

//Any ajax event will cause the tooltip to show. So we want to make sure

 

//the ajax event came from the grid and not i.e.(toolbar)

 

var str = sender.get_TargetControlID();

var pos = str.indexOf("LocationServiceGridView");

if(pos<=0)

{

    eventArgs.set_cancel(true);

 

}

}

however, when you set_cancel(true) it does stop the tooltip from showing but then the event that was suppose to fire from the toolbar cancels as well.

Please advise

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 22 Jan 2008, 04:04 PM
Hi Gregory,

I am afraid that the provided information is not enough for us to determine what the reason for the problem might be. For example we don't know the control to which the RadToolTip is hooked and the event that is fired from the toolbar.

Generally speaking, the RadToolTip should not be shown unless it is hooked to the toolbar. Unfortunately without having a better look over your exact setup we cannot tell what the reason for the problem might be. That is why I would like to ask you to open a support ticket and provide the following:
  1. A small sample project that shows your setup and reproduces the problem. Please make sure that the project can be run locally and attach it to the support ticket.
  2. Step-by-step reproduction instructions.
Once we received that project, we will check it right away and do our best to help.




Regards,
Georgi Tunev
the Telerik team

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