I have a RadGrid column on the second level hierarchy with ToolTips and it works very nice. However, as soon I filter the grid do rows then it look like the ToolTips still referenced somehow to none-filtered grid. Did anybody experience this problem?
Here is how I set the key for the ToolTips object on my second hierarchy level:
Protected Sub grdLineGrid_ItemDataBound(ByVal sender As Object, ByVal e As GridItemEventArgs) |
If e.Item.ItemType = GridItemType.Item OrElse e.Item.ItemType = GridItemType.AlternatingItem Then |
Dim target As Control = e.Item.FindControl("LinePayment") |
If Not [Object].Equals(target, Nothing) Then |
If Not [Object].Equals(Me.RadToolTipManager1, Nothing) Then |
Dim currentRow As DataRowView = DirectCast(e.Item.DataItem, DataRowView) |
Me.RadToolTipManager1.TargetControls.Add(target.ClientID, currentRow.Row("Inv_Doc_No").ToString() + "|" + currentRow.Row("Pay_Item").ToString() + "|" + currentRow.Row("Inv_Type").ToString(), True) |
End If |
End If |
End If |
End Sub |
When my OnAjaxUpdate event fires and the rows are filtered then the ToolTipUpdateEventArgs.Value is always a first row on the given page, not the one I move mouse over.