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

RadToolTipManager displaying Tooltips for unrelated controls

1 Answer 93 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
AMH
Top achievements
Rank 1
AMH asked on 05 Jan 2009, 08:21 PM

I have two ToolTipManager Controls that display a Templated Tooltip for two columns inside a RadGrid that

I have on a page. These Templated tooltips load two different user controls on demand. I also have lots of

controls with just plain text tooltips (not using any Telerik controls to display these).

When the RadGrid which contains the two columns has rows then all the Tooltips are displayed just fine.

But the moment that Grid does not have any rows or is hidden, then the Tooltip Manager causes problems

with any control that has a Tooltip property set.

This is what happens: When you hover over any control on the page that has a tooltip, (whether you use

Telerik Tooltip controls to display the tooltip or not) a blank toolip with manual close button and the

same skin as my templated tooltip gets displayed along with a spinning wheel instead of displaying plain

text tooltip. This should not happen as these controls  were never registered with Tooltip controls. This

is both annoying and confusing.

So far, I tried the following but both failed:
1) Tried to disable the Tooltip manager controls when there are no rows in RadGrid - This didn't work. I

saw the same behavior.
2) Tried to set the visible property of the tooltip manager on the server side when there are no rows in

RadGrid - while it works ok I often get this exception (because of which I can't use this solution):

Script control 'xxxToolTipManager' is not a registered script control. Script controls must be registered

using RegisterScriptControl() before calling RegisterScriptDescriptors().

Parameter name: scriptControl

Can someone help fix this? I appriciate your help!

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 07 Jan 2009, 02:36 PM
Hello AMH,

What is the exact version of RadControls you are using? The RadToolTipManager has an autotooltipify functionality - it automatically tooltipifies all the elements on the page which have their Title/ToolTip set to some value when the TargetControls collection is empty and this seems very much to be the case. This functionality is controlled by a property called AutoTooltipify - you can find a working demo about it here. In previous releases this property used to have a default value true but due to customers' requests it was changed to false.

This being said, I suggest to set all the RadToolTipManagers AutoTooltipify = false explicitly and test again. If this does not help, please open a new support ticket and send us a sample fully runnable demo project along with detailed reproduction steps.

Greetings,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ToolTip
Asked by
AMH
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or