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

3 posts, 0 answers
  1. Mounir Maghraoui
    Mounir Maghraoui avatar
    24 posts
    Member since:
    Aug 2009

    Posted 11 May 2010 Link to this post

    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. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 13 May 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mounir Maghraoui
    Mounir Maghraoui avatar
    24 posts
    Member since:
    Aug 2009

    Posted 13 May 2010 Link to this post

    Hi Tsvetie,

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

    Regards,
    Mounir
Back to Top