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

RadGrid Tooltip and Virtual Scrolling

6 Answers 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
avarndel
Top achievements
Rank 1
avarndel asked on 18 Aug 2008, 03:08 PM
The tooltip gets stuck on the first page of the grid.  When I scroll it doesn't update the tooltip.  How can I get the tooltip to display the correct information?

I have the following:

 Protected Sub RadToolTipManager1_AjaxUpdate(ByVal sender As Object, ByVal e As Telerik.Web.UI.ToolTipUpdateEventArgs)
        Me.UpdateToolTip(e.Value, e.UpdatePanel)
    End Sub

    Sub UpdateToolTip(ByVal elementID As String, ByVal panel As UpdatePanel)
        Dim ctrl As Control = Page.LoadControl("~\UserControls\StaffProfile.ascx")
        panel.ContentTemplateContainer.Controls.Add(ctrl)
        Dim details As StaffProfile = DirectCast(ctrl, StaffProfile)
        details.UserID = CType(elementID, Integer)
    End Sub

 Protected Sub StaffGrid_PageIndexChanged(ByVal source As Object, ByVal e As Telerik.Web.UI.GridPageChangedEventArgs) Handles StaffGrid.PageIndexChanged
        RadToolTipManager1.TargetControls.Clear()
    End Sub

6 Answers, 1 is accepted

Sort by
0
avarndel
Top achievements
Rank 1
answered on 19 Aug 2008, 03:04 PM
Any help with virtual scrolling and tooltip?

tx
0
Maria Ilieva
Telerik team
answered on 22 Aug 2008, 07:56 AM
Hi avarndel,

 Please review the following online example, which represents properly usage of ToolTip in RadGrid. Review the provided approach and let us know if this helps.

All the best,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
avarndel
Top achievements
Rank 1
answered on 25 Aug 2008, 07:14 PM
The code for the Tooltip came from you guys.  My issue is that the tooltip is not getting the correct informtation when scrolling.
0
avarndel
Top achievements
Rank 1
answered on 26 Aug 2008, 04:03 PM
Help!  Still waiting for response.

Thanks
Av
0
avarndel
Top achievements
Rank 1
answered on 28 Aug 2008, 12:45 PM
The tooltip works when Paging ONLY is on.  However, When I have Paging and Virtual Scrolling, it only works on the first page.  When I scroll to the other pages,  it doesn't work.

How do I get the tooltip to work with virtual scrolling?

thanks.
av
0
Maria Ilieva
Telerik team
answered on 28 Aug 2008, 01:04 PM
Hi avarndel,

Will it be convenient for you to open a regular support ticket and  send us sample runnable project, which replicate the described problem. We will test it locally and do our best to provide accurate solution as soon as possible.

Thank you.

Kind regards,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
avarndel
Top achievements
Rank 1
Answers by
avarndel
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or