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

dynamic tooltip not showing in IE7 Q1 2009 SP1

1 Answer 45 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 15 Apr 2009, 07:08 PM
Radtooltip is working great under IE6 firefox but not in IE7 and IE8. Tooltip is either out of position or disappear right after.

I used combination of below properties (not sure which one that i should use for dynamic but all work great under IE6 / firefox)
    .Show()
    .VisibleonPageLoad = true
    .RenderInPageRoot = true
    .HideEvent = Web.UI.ToolTipHideEvent.ManualClose

Note: All controls are inside of global ajax panel. (I even tried to disable ajax but same result)

Here is my sampe code,

 

 Public Sub ShowPopupMessage(ByVal validationIssues As IValidations)  
 
        If validationIssues Is Nothing OrElse validationIssues.ErrorCount = 0 Then  
            Exit Sub  
        End If  
 
        Dim popupMessage As New Telerik.Web.UI.RadToolTip  
        Dim width As Integer = 75 
        Me.Controls.Add(popupMessage)  
 
        With popupMessage  
            '.Position = Telerik.Web.UI.ToolTipPosition.BottomRight  
            '.RelativeTo = Telerik.Web.UI.ToolTipRelativeDisplay.BrowserWindow  
            .Position = Telerik.Web.UI.ToolTipPosition.Center  
            .RelativeTo = Telerik.Web.UI.ToolTipRelativeDisplay.BrowserWindow              
            '.Animation = Telerik.Web.UI.ToolTipAnimation.Fade  
            .Animation = Telerik.Web.UI.ToolTipAnimation.None  
            .Title = "Message" 
            .Width = 300 
            .Height = width * validationIssues.ErrorCount                          
            '.Show()  
            '.RenderInPageRoot = True              
            .VisibleOnPageLoad = True 
            .HideEvent = Telerik.Web.UI.ToolTipHideEvent.ManualClose  
        End With  
 
 
        popupMessage.Controls.Add(CreateValidationContent(validationIssues))  
 
    End Sub 

 

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 17 Apr 2009, 12:19 PM
Hello Richard,

I already answered your support thread and for your convenience and for others who might have the same issue I pasted my reply below:

I am not completely sure about your exact scenario. the only thing I assume that might be happening is that the tooltip is rendered as a child element of another parent element and this might cause positioning issues. If so, I suggest to test whether rendering the tooltip as a child of the root of the page will fix the issue - in order to do this, you should set RenderInPageRoot=true.

In case this does not help, please modify the attached sample in order to reproduce the problem and send it back to me along with detailed explanations and some screenshots.


Regards,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ToolTip
Asked by
Richard
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or