Hi,
I'm formatting my RadGridView and changing its color based a cell value. It's working fine but if I scroll up or down It becomes to change all rows color.
Is it a bug, or I'm doing something wrong?
Here is my code:
Thank you.
Private Sub grid_RowFormatting(ByVal sender As System.Object, ByVal e As Telerik.WinControls.UI.RowFormattingEventArgs)
e.RowElement.RowInfo.MinHeight = 24
If e.RowElement.RowInfo.Cells("Recusa").Value = "S" Then
e.RowElement.ForeColor = Color.DarkRed
e.RowElement.BackColor = Color.Coral
End If
End Sub