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

Show All Tooltips In ToolTipManager at same location on page?

3 Answers 80 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Scott Smith
Top achievements
Rank 1
Scott Smith asked on 15 Mar 2010, 05:06 PM
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.

Scott

3 Answers, 1 is accepted

Sort by
0
Scott Smith
Top achievements
Rank 1
answered on 16 Mar 2010, 06:11 PM
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!
0
Scott Smith
Top achievements
Rank 1
answered on 17 Mar 2010, 02:27 PM
I think I figured it out. This place is useless.
0
Svetlina Anati
Telerik team
answered on 18 Mar 2010, 10:37 AM
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">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="manager" runat="server">
    </asp:ScriptManager>
    <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">
        <TargetControls>
            <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" />
        </TargetControls>
    </telerik:RadToolTipManager>
    </form>
</body>
</html>

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.


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.
Tags
ToolTip
Asked by
Scott Smith
Top achievements
Rank 1
Answers by
Scott Smith
Top achievements
Rank 1
Svetlina Anati
Telerik team
Share this question
or