I am working with the Rad gridview with Two Child Templates.I want to the Row Formatting for my ViewTemplates, So I used this Code ,
Private Sub RadGrid_RowFormatting1(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.RowFormattingEventArgs) Handles RadGrid.RowFormatting
If e.RowElement.ViewTemplate.Parent IsNot Nothing Then
e.RowElement.ForeColor = Color.Blue
e.RowElement.BackColor = Color.SkyBlue
End If
Yes..its working ..Is there any way to give alternative colour to the second child template..I want to differentiate the colour between second template to first template.