I have to highlight a grid view row using keyboard up & down arrow keys. If the user selects the gridview row using a key it should get highlighted and the user should be able to navigate using the keys.
I have used the code from
It works fine if there is no postback for a grid row selection.
I am using it with my gridview and for each row click it will call a button click functionality.
When it is posting back the highlighting is not staying ..Can anyone suggest any solution to this?