multiple radtooltipmanagers (in separate usercontrols)

6 posts, 1 answers
  1. SelAromDotNet
    SelAromDotNet avatar
    67 posts
    Member since:
    Jul 2012

    Posted 30 Sep 2008 Link to this post

    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
  2. Serrin
    Serrin avatar
    286 posts
    Member since:
    Sep 2008

    Posted 01 Oct 2008 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mattias
    Mattias avatar
    263 posts
    Member since:
    Aug 2012

    Posted 02 Oct 2008 Link to this post

    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!
  5. SelAromDotNet
    SelAromDotNet avatar
    67 posts
    Member since:
    Jul 2012

    Posted 02 Oct 2008 Link to this post

    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
  6. Answer
    Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 02 Oct 2008 Link to this post

    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.
  7. Serrin
    Serrin avatar
    286 posts
    Member since:
    Sep 2008

    Posted 02 Oct 2008 Link to this post

    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! :(
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017