I have this code that formats items in a list when a certain condition exists.
Private Sub RadListFamilies_VisualItemFormatting(sender As Object, args As
Telerik.WinControls.UI.VisualItemFormattingEventArgs) Handles RadListFamilies.VisualItemFormatting
If isFamilyInProj(args.VisualItem.Data.Value) > 0 Then
args.VisualItem.Font = fontBold
End If
End Sub
---
When I select an item in the list, I want to run that code. Currently, I have to select a different item and then click back on the original to refresh the formatting.
How can I force that without clicking out and back?