I am having this problem since long, but no one seems to have worked out any solution for it. I tried to scour through many articles but haven't got an answer yet. PLease help me with this.
I have written the following code to highlight the row when a user press up-down arrow key.
Private Sub DataGrid_CurrentCellChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGrid.CurrentCellChanged
'Highlight datagrid when arrow keys are used.
DataGrid.Select(DataGrid.CurrentCell.RowNumber)
End Sub
but this leaves the focus within the current cell of the highlited row. It gives a wired look, the text in current cell is selected and cursor keeps on blinking. How can I prevent this