I want to be able to highlight all rows that have a null value in a certain column. However when i try to use the following object its not working on null values.
Im calling this on the load of my form, or should i be calling this on the rowformatting event?
Im calling this on the load of my form, or should i be calling this on the rowformatting event?
Private
Sub SetConditions()
Dim obj As New ConditionalFormattingObject("MyCondition", ConditionTypes.Equal, System.DBNull.Value.ToString, "", True)
obj.CellForeColor = Color.Red
obj.RowBackColor = Color.Yellow
Me.RadGridView_SessionData.Columns("Assignment").ConditionalFormattingObjectList.Add(obj)
End Sub
Any ideas!