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

RadToolTipManager window disappears automatically

5 Answers 123 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
adi
Top achievements
Rank 1
adi asked on 09 Sep 2010, 12:18 PM
Hi,

I'd like to show a tooltip while hovering over a RadGrid row. This functionality works well until displaying the tooltip with RadToolTipManager. If I hover over a row, the tooltip appears short. It disappears after a while automatically. The page is ajaxified as well as the UserControls on it. How can I get tooltip stayed on the page?

Regards,
Adi

5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 09 Sep 2010, 01:51 PM
Hi Adi,

You can set the HideEvent property of RadTooltip as per your requirement.

ASPX:
     <telerik:RadToolTip HideEvent="ManualClose" ID="RadToolTip3" 


The HideEvent property is an enum and can take the following values, which names describe the effect that you set:
  • Default
  • FromCode
  • LeaveTargetAndToolTip
  • LeaveToolTip
  • ManualClose


-Shinu.
0
Svetlina Anati
Telerik team
answered on 09 Sep 2010, 02:45 PM
Hi adi,

 Shinu has provided the relevant information for your question. What I can add is to suggest to examine the demos below where you can directly test the actual behavior with the different settings:

http://demos.telerik.com/aspnet-ajax/tooltip/examples/hideevent/defaultcs.aspx
http://demos.telerik.com/aspnet-ajax/tooltip/examples/default/defaultcs.aspx

Kind regards,
Svetlina
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
0
adi
Top achievements
Rank 1
answered on 09 Sep 2010, 03:57 PM
Hi,

It was the time the databinding occurs. If the tooltip was displayed, the grid was rebind and therefore the TargetControls collection was recreated. I have refactor the binding logic and now the ToolTip remains. But now I get an other error:

---------------------------
Message from webpage
---------------------------
RadToolTipManager response error:
 Exception=Sys.WebForms.PageRequestManagerServerErrorException: Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index

0
adi
Top achievements
Rank 1
answered on 14 Sep 2010, 10:56 AM
Hi,

Update: I have solved the issue. The sample links from Svetlina were very useful. The PageRequestManagerServerErrorException was resolved by refactoring the AJAX configuration. It works fine, now.

Thanks!
0
Svetlina Anati
Telerik team
answered on 14 Sep 2010, 01:52 PM
Hello adi,

 I am glad to hear that you were able to resolve the problem and to get the desired result. In case you encounter any further problems or you have any particular questions, do not hesitate to contact us again, we will be glad to help.

All the best,
Svetlina
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
Tags
ToolTip
Asked by
adi
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Svetlina Anati
Telerik team
adi
Top achievements
Rank 1
Share this question
or