The ClearSelection method of RadGridView unselects the rows only of the MasterTemplate
The following line leaves the visual lines of the child templates selected:
this.radGridView1.ClearSelection()
To workaround the issue use this.radGridView1.TableElement.UpdateView() after clearing the selection.