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

Two RadToolTipManager problem.

3 Answers 113 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Long
Top achievements
Rank 1
Long asked on 03 Jan 2009, 01:19 AM
Hello,
I have two RadToolTipManagers :

    <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server"  RelativeTo="Mouse"
                                 OnAjaxUpdate="OnAjaxUpdate" Sticky="true"   MouseTrailing="false"
                    Position="MiddleLeft" Width="500px" Height="320px"
        Animation="None" Skin="Office2007" EnableViewState="False">
    </telerik:RadToolTipManager>

    <telerik:RadToolTipManager ID="RadToolTipManager2" runat="server"  RelativeTo="Mouse"
                                 OnAjaxUpdate="OnAjaxUpdate2" Sticky="true" 
        ManualClose="true" Modal="true"
                    Position="MiddleLeft" Width="850px" Height="620px"  MouseTrailing="false"
        Animation="None" Skin="Office2007" ShowEvent="OnClick">
    </telerik:RadToolTipManager>

They have different target controls.Say RadToolTipManager1 takes care of controls 1-10, RadToolTipManager2 takes care of controls 20-30;
The problem is:

whenever I mouse over controls 1-10,  "OnAjaxUpdate" fired, AND "OnAjaxUpdate2" fired.
whenever I click controls 20-30,  "OnAjaxUpdate" fired, AND "OnAjaxUpdate2" fired.
 which screw up the display.
I'm looking for a simple way to solve the problem: Whenever I mouse over controls 1-10, ONLY "OnAjaxUpdate" fired,
 AND whenever I click controls 20-30, ONLY "OnAjaxUpdate2" fired.

Please help.

Thanks in advance,
Long

3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 05 Jan 2009, 01:16 PM
Hi Long,

I tested a scenario with two RadToolTipManagers but there was not a problem with the OnAjaxUpdate events - please see the attached test demo. Please, download the demo, test in and modify it in order to reproduce the problem. Once you succeed, open a new support ticket and send it to us along with detailed explanations of the reproduction steps and the actual and desired behavior.

Please, also note that the ManualClose and the Sticky properties are obsolete - they still can be used but we do not recommend this because problems may occur especially when using both of them in a combination because this scenario is not a valid one. I strongly recommend to use the new property which replaces them - the HideEvent property which is demonstrated here. Please, replace all the occurrences of the obsolete properties with the new ones and test again.


All the best,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mike
Top achievements
Rank 1
answered on 01 Jan 2010, 05:47 PM
Perfect!! Just what I was looking for!  
HideEvent="LeaveToolTip" 
Replaces
Sticky="true"  

 

 

 

 

0
Svetlina Anati
Telerik team
answered on 04 Jan 2010, 11:35 AM
Hello Mike,

I am glad I could help. In case you experience any further problems, do not hesitate to contact us again.

All the best,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ToolTip
Asked by
Long
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Mike
Top achievements
Rank 1
Share this question
or