Hello,
I fail to assign a specific value to the tooltiptext of a drop down list,
in the past I used the Tooltiptextneed event as follows
:
Private Sub ddCountry_ToolTipTextNeeded(sender As Object, e As Telerik.WinControls.ToolTipTextNeededEventArgs) Handles ddCountry.ToolTipTextNeeded
e.ToolTipText = ddCountry.SelectedItem("Label")
End Sub
But is seemed to be not working anymore
I tried the following:
Private Sub ddCountry_VisualListItemFormatting(sender As Object, args As VisualItemFormattingEventArgs) Handles ddCountry.VisualListItemFormatting
args.VisualItem.ToolTipText = ddCountry.SelectedItem("Label")
End Sub
But the selected index seems to be always "0" ant not the index of the Item on which I want to set the tooltip
How Should I set the tooltiptext to display the desired text ?
Thanks in advance
I fail to assign a specific value to the tooltiptext of a drop down list,
in the past I used the Tooltiptextneed event as follows
:
Private Sub ddCountry_ToolTipTextNeeded(sender As Object, e As Telerik.WinControls.ToolTipTextNeededEventArgs) Handles ddCountry.ToolTipTextNeeded
e.ToolTipText = ddCountry.SelectedItem("Label")
End Sub
But is seemed to be not working anymore
I tried the following:
Private Sub ddCountry_VisualListItemFormatting(sender As Object, args As VisualItemFormattingEventArgs) Handles ddCountry.VisualListItemFormatting
args.VisualItem.ToolTipText = ddCountry.SelectedItem("Label")
End Sub
But the selected index seems to be always "0" ant not the index of the Item on which I want to set the tooltip
How Should I set the tooltiptext to display the desired text ?
Thanks in advance