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

Problem with ToolTipmanager in Update Panel.

2 Answers 69 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Lance
Top achievements
Rank 1
Lance asked on 30 Oct 2008, 11:51 PM
Hello, I am having a bit of a strange problem. 

I have a user control that has an image button (imgBtn), and a regular image (imgToolTip).  imgBtn does a postback to imgBtn_click, and the imgToolTip is attached as a target for the tooltipmanager that does an onDemand Load call to onAjaxUpdate.  Everything is fine. 

However, when I place an update panel around everything, and point the async triggers at imgBtn, something rather strangee happens:
1. The update panel works fine, clicking on imgBtn has the desired effect, and the panel is updated.
2. If I mouse over imgToolTip, the tooltip updates correctly (onAjaxUpdate is called).
3. After viewing the ToolTip, if I then click on imgBtn, the onAjaxUpdate is called rather then calling the imgBtn_click event (no tooltip is displayed though).

I have the tooltip manager inside the update panel because the postback will also change the imgBtn, and imgToolTip, and if it is outside, then it will keep popping up the tooltip for the previous context.  

I am stumped as to why this is happening...

2 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 03 Nov 2008, 02:11 PM
Hi Lance,

I followed the provided steps but I was not able to reproduce the described problem. The only problem I was able to observe was when the asp update panel does not have its UpdateMode property set to Conditional - in this case it updates every time another update panel updates and therefore it is updated when the OnAjaxUpdate event fires. However, I do not think that this is the problem you report.

Would you please examine the attached test project and modify it in order to reproduce the problem? Once you have done this, please open a new support ticket and send it to me along with reproduction instructions and some screenshots.

Sincerely yours,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Lance
Top achievements
Rank 1
answered on 06 Nov 2008, 07:59 PM
Hey,
Your sample worked on my system.  Also, I tried to build a simple demonstration of the problem I am seeing, but it worked as well.  So now the only problem I am seeing is in my full blown application.  I am going to start picking it apart from the bottom up and see where it breaks..

Thanks
Lance
Tags
ToolTip
Asked by
Lance
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Lance
Top achievements
Rank 1
Share this question
or