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

Tooltip offset error, SP2

3 Answers 53 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Dave Wolf
Top achievements
Rank 1
Iron
Dave Wolf asked on 21 Jun 2008, 04:05 AM
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?

3 Answers, 1 is accepted

Sort by
0
Accepted
Svetlina Anati
Telerik team
answered on 23 Jun 2008, 12:43 PM
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
0
Dave Wolf
Top achievements
Rank 1
Iron
answered on 24 Jun 2008, 04:45 AM

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.

0
Svetlina Anati
Telerik team
answered on 26 Jun 2008, 02:31 PM
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
Tags
ToolTip
Asked by
Dave Wolf
Top achievements
Rank 1
Iron
Answers by
Svetlina Anati
Telerik team
Dave Wolf
Top achievements
Rank 1
Iron
Share this question
or