DynDeveloper.com

DynDeveloper.com

Sign Up Now!Log In
Kaprice 7/19/2019 11:36:34 PM

Fire (or call) an event procedure - Telerik GradGrid - VB.Net

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?

Version: Unknown or N/A
Section: .NET Development, Telerik