Show All Tooltips In ToolTipManager at same location on page?

4 posts, 0 answers
  1. Scott Smith
    Scott Smith avatar
    14 posts
    Member since:
    Mar 2010

    Posted 15 Mar 2010 Link to this post

    I searched but couldn't find anything, so I'll try this...

    Is it possible to force all of the individual tooltips of a tooltipmanager to show up at the same location on the page each time? Ideally, for what I'm doing with the ToolTipManager, it would be nice to somehow set an exact location on the page each time for the tooltips to be displayed but as of yet, I can't figure how to do it. Any suggestions? Is this even possible? Thanks.

  2. Scott Smith
    Scott Smith avatar
    14 posts
    Member since:
    Mar 2010

    Posted 16 Mar 2010 Link to this post

    What I have is a vertical column of items that can change in number and to the right of the colum is a blank space. What I'm trying to accomplish is when you mouseover any of the items in the column, the tooltip will always show up in the blank space to the right no matter what size the page is, where the page is scrolled to, where your mouse is, which item is triggering the mouseover event, etc. etc. Is it possible to accomplish this in the ToolTipManager with some JavaScript/CSS work? Or not? It would be nice to know so I'm not wasting time trying to achieve the impossible. Thanks!
  3. DevCraft R3 2016 release webinar banner
  4. Scott Smith
    Scott Smith avatar
    14 posts
    Member since:
    Mar 2010

    Posted 17 Mar 2010 Link to this post

    I think I figured it out. This place is useless.
  5. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 18 Mar 2010 Link to this post

    Hi Scott,

    There are a few possible approaches to achieve what you need depending on your exact requirements. The easiest way to show all the tooltips on the same place is to use the RelativeTo="BrowserWinodw" setting - take a look at the following fragment I prepared for you:

    <head runat="server">
        <form id="form1" runat="server">
        <asp:ScriptManager ID="manager" runat="server">
        <asp:HyperLink ID="HyperLink1" runat="server" Text="Taget1"></asp:HyperLink><br />
        <asp:HyperLink ID="HyperLink2" runat="server" Text="Traget2"></asp:HyperLink><br />
        <asp:HyperLink ID="HyperLink3" runat="server" Text="Traget3"></asp:HyperLink><br />
        <asp:HyperLink ID="HyperLink4" runat="server" Text="Traget4"></asp:HyperLink><br />
        <asp:HyperLink ID="HyperLink5" runat="server" Text="Traget5"></asp:HyperLink><br />
        <asp:HyperLink ID="HyperLink6" runat="server" Text="Traget6"></asp:HyperLink><br />
        <asp:HyperLink ID="target1" runat="server" Text="Traget7"></asp:HyperLink><br />
        <telerik:RadToolTipManager ID="ttManager" runat="server" Width="200" Height="200"
            Text="TEST" RelativeTo="BrowserWindow" Position="TopLeft" OffsetX="300" ShowCallout="false">
                <telerik:ToolTipTargetControl TargetControlID="target1" />
                <telerik:ToolTipTargetControl TargetControlID="HyperLink1" />
                <telerik:ToolTipTargetControl TargetControlID="HyperLink2" />
                <telerik:ToolTipTargetControl TargetControlID="HyperLink3" />
                <telerik:ToolTipTargetControl TargetControlID="HyperLink4" />
                <telerik:ToolTipTargetControl TargetControlID="HyperLink5" />
                <telerik:ToolTipTargetControl TargetControlID="HyperLink6" />

    For your convenience I attached my test page.

    On a side note, please keep in mind that forums are considered community resources and we do not guarantee a timely response here. To make sure that you will get a fast and guaranteed response, please use our support system and open support tickets which are processed with higher priority.

    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.
Back to Top