Tooltip works only one time

2 posts, 0 answers
  1. Jerry
    Jerry avatar
    3 posts
    Member since:
    Feb 2008

    Posted 15 Oct 2010 Link to this post


    If I put a RadToolTip in the root and also set RenderInPageRoot="true" and I have a couple of buttons inside an RadAjaxPanel in this tooltip. When I click a button in the tooltip I force update another RadAjaxPanel using: RadAjaxPanel1.ResponseScripts.Add(string.Format("$find('{0}').ajaxRequest();", RadAjaxPanel2.ClientID));

    This works, it updates the second panel and the data I want is updated as well. The only problem is that the RadToolTip doesn't work for that control anymore. The RadToolTip has TargetControlID="" one of the controls in the second panel.

    Another problem is if I don't use RenderInPageRoot="true" The tooltip first pops up at the bottom right of the parent div then jumps to the correct position.

    EDIT: The align problem only appears when I use Animation="Slide"
    EDIT: The align problem appears when using any kind of animation

    Any solution to any of these problems would be great.

    Regards, Jerry
  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 20 Oct 2010 Link to this post

    Hi Jerry,

     Straight to your questions:

    1) I assume that you have not updated the tooltip along with the target control - please update the tooltip as well along with its target and see whether this fixes the problem. The tooltip control detects when the target is updated in most cases but in some specific cases it is needed to update it as well as you would do with any standard control when you change associated control.

    2) The behavior you describe is the natural behavior when you have an element which is child of another element. The very same behavior can be reproduced with standard DIVs and this is how the things work and it is not directly related to RadToolTip. That is why we have provided the RenderInPageRoot property - a demo is available here:

    This being said, your scenario requires setting the property and this is what you should do.

    Sincerely yours,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top