Tooltip window disappears on

4 posts, 0 answers
  1. Stefan
    Stefan avatar
    58 posts
    Member since:
    Jan 2013

    Posted 20 May 2013 Link to this post

    I have a web page with images.  Each image is linked to a tool tip. I have one tool tip that includes a combo box and a radgrid.  When I select an item out of the combo box the grid populates.  All this works fine in the selected index change of the combobox but the tool tip disappears when loading the rad grid.  I can click on the image again and the tool tip now shows with the loaded grid.  I figured out a way around it by adding a .show to the tooltip at the end of the loading of the grid (select index change).  But now if I change the grid to enable paging.  Each time I hit next page the tool tips disappears.  If I hit on the image again to show the tooltip it is loaded with the correct page/data.  But how do I keep the tooltip form disappearing on each next page click?  The HideEvent of the tool tip is set to manual close.  Should it be something else? I like it having the Close button in the top left. Is there another setting so it will not disappear everytime the grid gets refreshed?

    ETA: even if I set the hide event tooltip to from code or leave tooltip the grid does not load data upon clicking next page.

    thanks in advance.
  2. Marin Bratanov
    Marin Bratanov avatar
    4440 posts

    Posted 23 May 2013 Link to this post

    Hello Stefan,

    The HIdeEvent is a JavaScript functionality, meaning that it controls the handlers that are used to hide the tooltip.

    If the tooltip itself is disposed in a postback (full or partial) then it will hide, because its markup is generated with JavaScript only when it is shown for the first time. Thus, manualClose or FromCode - once the markup is lost the tooltip will hide.

    This is what I believe is happening in your case - the postbacks from the grid and the combo dispose the tooltip as well. I would advise that you wrap the contents of your tooltip in an update panel to see if this will help. You should also check upwards in the control hierarchy to see if there is an update panel (or RadAjaxPanel or an AjaxSetting from a RadAjaxManager) that causes the tooltip to dispose, then exclude the tooltip from that panel.

    Marin Bratanov
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Ali
    Ali avatar
    1 posts
    Member since:
    Mar 2013

    Posted 08 Jul 2013 Link to this post

    Hi Marin,

    I am using ASP.NET AJAX (version: 2013.1.220.40). There is an issue on Microsoft Windows Surface that tooltip is not displayed with a finger touch. it is displayed when user holds down the finger and the tooltip disappear once the user lefts his finger.
    This is working fine in desktop browsers and IPAD, IPhone and Galaxy tab 2. In the mentioned devices, the tooltip is displayed with touch but not in surface.

    Any thoughts on this?

  4. Joana
    Joana avatar
    186 posts

    Posted 11 Jul 2013 Link to this post

    Hi Ali,

    Indeed, in MS Surface tablet the RadToolTip is shown only after you hold down a few seconds. This issue is logged in our system as a future improvement of the control and we will implement it as soon as possible.  However, you could set the ShowEvent to OnClick so that the first touch in this device will be respected as a click.

    Concerning the issue that the tooltip disappears when a user releases hold, I was not able to reproduce it. Could you please check whether you reproduce the issue in our demo of the RadToolTip control and test your web page with the latest version of the RadControls (currently it is Q2 2013)?

    What I can suggest at this point is that you set a value to the AutoCloseDelay and HideDelay property of the control and see whether there is a change in the behavior. You could also review the HideEvent property and check whether the tooltip will disappear even if ManualClose option is used. You might find useful this article related to the Server-Side API of the RadToolTip.

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top