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

multiple radtooltipmanagers (in separate usercontrols)

5 Answers 83 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
SelAromDotNet
Top achievements
Rank 2
SelAromDotNet asked on 30 Sep 2008, 09:10 PM
I have my home page broken up into multiple user controls, and a few of them are going to be using the radtooltipmanager. I'm wondering what performance considerations there are for using multiple radtooltipmanagers in separate controls, or if I should attempt to use a global radtootlipmanager external from these controls to minimize overhead.

thank you

5 Answers, 1 is accepted

Sort by
0
Serrin
Top achievements
Rank 1
answered on 01 Oct 2008, 07:14 PM
Hello,

Generally speaking, if you could use one global implementation as opposed to multiple copies on the page you're looking at less overhead...  It will take a little more coding to reference the controls, but the trade off should be well worth it to ensure lower page size and to avoid any kind of conflicts.

This demo also has a good explanation for reasons/situations to use RadToolTipManager (also comparison with single tooltip) so you can see some of the dynamic elements of the control:

RadToolTipManager versus RadToolTip
0
Mattias
Top achievements
Rank 1
answered on 02 Oct 2008, 07:31 AM
Hi,
I am interested  in this too.
If you could provide a example with the use of a global manager I would be very grateful! :)
Cause I have a support ticket with manager problem and maybe this can help me!
0
SelAromDotNet
Top achievements
Rank 2
answered on 02 Oct 2008, 02:15 PM
damn i just realized why I can't do this: the areas managed by the tooltips are on opposite sides of the page (left/right column) but if I were to use the one radtooltipmanager, I wouldn't be able to separate the location.

I can see how this might be beneficial but in my case I don't see any way around having separate managers. it doesn't look like it adds all that much overhead since the manager only has one area for all the tooltips.

very slick control by the way!

thanks
0
Accepted
Svetlina Anati
Telerik team
answered on 02 Oct 2008, 02:45 PM
Hello guys,

The HTML which the RadToolTipManager outputs contains only a DIV element and also the TargetControls IDs are outputted as strings in the controls's $create function. This being said, there is not a significant difference when you use one RadToolTipManager or more on your page - this will not influence the page's performance and will not make an overhead.

Serrin, have you tested the performance when having one and more RadToolTipManagers on a page? If you have noticed performance issues or an overhead, please provide a sample reproduction project along with a detailed explanation and information about the version of the control. Once we receive it, we will research it further. 

All the best,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Serrin
Top achievements
Rank 1
answered on 02 Oct 2008, 08:54 PM
Hey Svetlina,

I was actually working under a false assumption, I didn't realize it until I was away from my computer and only just got back to this post. ;)  For some reason I was thinking about the TargetControls property in reverse which made it more economical (in my head) to use less managers outside of controls.  Sorry for any confusion I caused! :(
Tags
ToolTip
Asked by
SelAromDotNet
Top achievements
Rank 2
Answers by
Serrin
Top achievements
Rank 1
Mattias
Top achievements
Rank 1
SelAromDotNet
Top achievements
Rank 2
Svetlina Anati
Telerik team
Share this question
or