When the original radgrid populates with data and I fire the tooltiptextneeded event the tool tip text is correct. Once I alter the grid, for example, clicking one of the headers to sort the data the tool tip text doesn't follow the rows. The tool tip text stays where it was when the rows were originally rendered. I am obviously missing something here. Do I need to update the radgrid's rows somehow on the sort event to reflect the new row values?
Thanks,
Chuck
Code Example:
Thanks,
Chuck
Code Example:
Private Sub dgMyIssues_ToolTipTextNeeded(sender As Object, e As Telerik.WinControls.ToolTipTextNeededEventArgs) Handles dgMyIssues.ToolTipTextNeeded Dim cell As GridDataCellElement = TryCast(sender, GridDataCellElement) If cell IsNot Nothing AndAlso cell.RowIndex > -1 Then If dgMyIssues.Rows(cell.RowIndex).Cells("Description").Value Is DBNull.Value Then e.ToolTipText = "" Else Dim s As String = dgMyIssues.Rows(cell.RowIndex).Cells("Description").Value If s.Length > 500 Then s = s.Substring(0, 500) & "..." e.ToolTipText = s If e.ToolTipText.Length > 75 Then e.ToolTipText = SplitToolTip(e.ToolTipText) End If End If End Sub