Hi,
In RadGrid I can't find the RowDataBound function.
In fact, in each binding of data, I would like to color in different way the row.
My code was (with a grid) :
In RadGrid I can't find the RowDataBound function.
In fact, in each binding of data, I would like to color in different way the row.
My code was (with a grid) :
Protected
Sub GridViewDevis_RowDataBound(ByVal sender As Object, ByVal e As GridViewRowEventArgs) _
Handles GridViewDevis.RowDataBound
If (e.Row.RowType = DataControlRowType.DataRow) Then
Dim item As DataRowView
item = e.Row.DataItem
If item.Row.Item(10) = False Then
e.Row.CssClass =
"ligneRouge"
End If
End If
End Sub
Can you help me ?
Thanks
Jean-Yves