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

ToolTip position set to center but il looks shifted to the left

2 Answers 78 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Mounir Maghraoui
Top achievements
Rank 1
Mounir Maghraoui asked on 11 May 2010, 09:45 AM
Hi,

 I'm using a radtooltip shown from server side. I have set the postion of the tooltip to center and RelativeTo="Element" but the tooltip is shifted to the left (not well centred) by more than 50 px. I tried to set RelativeTo="BrowserWindow" but i have the same problem.
Could you tell me how to set the tooltip well centred please ?

Regards,
Mounir

here the source code :
 <telerik:RadToolTip EnableEmbeddedBaseStylesheet="true" ID="RadToolTip1" runat="server" 
        ShowEvent="FromCode" HideEvent="ManualClose" Modal="true" Animation="None" Skin="Default" 
        Position="Center" OffsetY="-1" RelativeTo="Element" Width="500px"
                <table width="100%" cellpadding="2" cellspacing="2"
                    <tr> 
                        <td> 
                            <asp:Label runat="Server" ID="confTitle" CssClass="kit-title-confirmation" Text="<%$ Resources:Labels, SubSpacefrmConfirmCoordonneesPostalesTitle %>" /> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td> 
                            <div style="border-width: thin; border: 1px solid; color: #003366;"
                                <div style="padding: 5px;"
                                    <asp:Label ID="lbConfirmMessage" runat="Server" CssClass="kit-text-confirmation" Text="<%$ Resources:PrescrireCore, ConfirmCoordonneesPostalesMsg %>" /></div
                                <div style="text-align: right;height:28px"
                                    <asp:Button ID="btnClosePopup" CssClass="classebouton" runat="server" Text="<%$ Resources:PrescrireCore, RegisterbtnClosePopup %>" OnClientClick="CloseTooltip();" />&nbsp;&nbsp;</div> 
                            </div> 
                        </td> 
                    </tr> 
                </table> 
    </telerik:RadToolTip>     

2 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 13 May 2010, 11:36 AM
Hi Mounir Maghraoui,
I created a simple test page to see if I can reproduce the problem with the latest version of the Telerik.Web.UI assembly (2010.1 415), but to no avail. I have attached my test page and a few images with the result I get with it in different browsers. Could you please open a new support ticket and send me a running project that demonstrates the problem you have?

All the best,
Tsvetie
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.
0
Mounir Maghraoui
Top achievements
Rank 1
answered on 13 May 2010, 01:49 PM
Hi Tsvetie,

 Thank you for the reply. I fixed the problem by setting position:absolute!important to the tooltip.

Regards,
Mounir
Tags
ToolTip
Asked by
Mounir Maghraoui
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Mounir Maghraoui
Top achievements
Rank 1
Share this question
or