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

Chrome Issue with ContentScrolling

1 Answer 173 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 26 Aug 2009, 11:20 PM
I think I found a bug with ToolTip and Chrome, my test code works in IE just fine but in Chrome I get this error on mouse over:
Uncaught Sys.ArgumentOutOfRangeException: Value must be an integer.
Parameter name: x
Actual value as Nan.

if i don't set a contentscrolling value this error does not show and the tooltip is displayed

Can you reproduce this?
aspx code
    <asp:Panel ID="GridPanel" runat="server"
        <id="LINKIT">TEXT FOR ROLLOVER</a> 
    </asp:Panel>  

code behind
 protected void Page_Load(object sender, EventArgs e) 
    { 
        StringBuilder daText = new StringBuilder(); 
        daText.Append("TEST<br>"); 
        daText.Append("TEST<br>"); 
        daText.Append("TEST<br>"); 
        RadToolTip rtp1 = new RadToolTip(); 
        rtp1.Skin = "Vista"
        rtp1.Text = daText.ToString(); 
        rtp1.Sticky = true
        rtp1.Position = ToolTipPosition.BottomCenter; 
        rtp1.TargetControlID = "LINKIT"
        rtp1.IsClientID = true
        rtp1.ShowEvent = ToolTipShowEvent.OnMouseOver; 
        rtp1.Width = new Unit("300px"); 
        rtp1.Height = new Unit("250px"); 
        rtp1.Animation = ToolTipAnimation.Fade; 
        rtp1.HideEvent = ToolTipHideEvent.LeaveToolTip; 
        rtp1.ContentScrolling = ToolTipScrolling.Auto; 
        GridPanel.Controls.Add(rtp1); 
    } 

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 01 Sep 2009, 08:34 AM
Hi John,

Thank you for the provided sample code, we were able to reproduce the problem. It was indeed caused by a bug in the source code but we already fixed the bug and you can test the fix in the next internal build.

I updated your account with some telerik points for your kind cooperation, which we highly appreciate!


All the best,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ToolTip
Asked by
John
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or