Tooltip offset error, SP2

4 posts, 1 answers
  1. Dave Wolf
    Dave Wolf avatar
    38 posts
    Member since:
    Feb 2006

    Posted 20 Jun 2008 Link to this post

    I just downloaded service pack 2 and noticed that when I open a tooltip in the following way that it actually opens the tooltip about 100px right of where it should.

     <telerik:RadToolTip ID="RadToolTip1" runat="server" Width="100px"
             ShowEvent="OnClick"       
             TargetControlId="link2"
             IsClientID="true"
             Sticky="true"
             Animation="none"
             ShowDelay="0"   
             RelativeTo="Element"   
            >
            This is a test
           
            </telerik:RadToolTip>


    <a id="link2" href="#" onclick="return false;"> Test</a>


    Is there a fix for this?
  2. Answer
    Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 23 Jun 2008 Link to this post

    Hello Dave ,

    I tested your code and I attached a screenshot which shows the result when I run it on my side.

    You have not set the RadToolTip's Position property which determines where the RadToolTip has to be shown. Please also note that if there is not enough space to show the tooltip at certain position, it will automatically recalculates its coordinates and reposition itself.

    I suggest to examine this online demo which explains how to configure the RadToolTip.

    In case this does not help, please open a new support ticket and provide some screenshots with detailed marks and explanation of the desired position of the tooltip in a particular case.


    Greetings,
    Svetlina
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Dave Wolf
    Dave Wolf avatar
    38 posts
    Member since:
    Feb 2006

    Posted 23 Jun 2008 Link to this post

    I found out what caused it.  I had the tooltip in a div tag that had position:relative set. Some update with the service pack screwed that up.

  4. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 26 Jun 2008 Link to this post

    Hi Dave,

    Thank you for providing this additional information. It helped us reproduce the problem.

    We updated RadToolTip's positioning logic to function in browser's quirks mode due to it commonly being used in DNN, where the DOCTYPE is not XHTML compliant but users cannot change that. Most probably the applied modifications are the reason for the reported behavior.

    We logged this in our database and we will fix this as soon as possible.

    Thank you again for your cooperation, we updated your Telerik points. 


    Regards,
    Svetlina
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top