I've used RowFormatting event to change text color (in order of checking condition based on Tag of the row):
It works fine if version 2013.2.724. But when I changed it to 2014.1.402 - it is not working anymore. I mean, event is fired and dataRow.ForeColor = Color.Blue executed but text color is not changed.
Did I miss something for new version?
Private
Sub
GridView_RowFormatting(
ByVal
sender
As
Object
,
ByVal
e
As
Telerik.WinControls.UI.RowFormattingEventArgs)
Handles
GridView.RowFormatting
Dim
dataRow
As
Telerik.WinControls.UI.GridRowElement = e.RowElement
If
dataRow IsNot
Nothing
Then
Try
If
dataRow.RowInfo.Tag IsNot
Nothing
Then
If
Is_Check_Some_Condition(dataRow.RowInfo.Tag)
Then
dataRow.ResetValue(Telerik.WinControls.UI.LightVisualElement.ForeColorProperty, Telerik.WinControls.ValueResetFlags.Local)
Else
dataRow.ForeColor = Color.Blue
End
If
End
If
Catch
ex
As
Exception
End
Try
End
If
End
Sub
It works fine if version 2013.2.724. But when I changed it to 2014.1.402 - it is not working anymore. I mean, event is fired and dataRow.ForeColor = Color.Blue executed but text color is not changed.
Did I miss something for new version?