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

Tooltip window disappears on

3 Answers 130 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Stefan
Top achievements
Rank 2
Stefan asked on 20 May 2013, 07:21 PM
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.

3 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 23 May 2013, 02:34 PM
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.


Regards,
Marin Bratanov
Telerik
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.
0
Ali
Top achievements
Rank 1
answered on 08 Jul 2013, 08:53 PM
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?

Regards,
0
Joana
Telerik team
answered on 11 Jul 2013, 10:48 AM
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.

Regards,
Joana
Telerik
 
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.
 
Tags
ToolTip
Asked by
Stefan
Top achievements
Rank 2
Answers by
Marin Bratanov
Telerik team
Ali
Top achievements
Rank 1
Joana
Telerik team
Share this question
or