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"> |
| <a 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); |
| } |