Grid View (prevent down enter key from down)
C#
4
Posts
2
Posters
0
Views
1
Watching
-
How to prevent enter key to focus down row? When we press enter key, grid move its focus to its down row of the current row. I dont wnat this movement. Please Help for that. (Is there any property in about case)
Syed Shahid Hussain
-
How to prevent enter key to focus down row? When we press enter key, grid move its focus to its down row of the current row. I dont wnat this movement. Please Help for that. (Is there any property in about case)
Syed Shahid Hussain
-
Try this: private void dgrMyDatagrid(object sender, KeyEventArgs e) { if ((e.KeyCode == Keys.Enter) { e.Handled = true; } } Hope it helps, Jure
Thanks a lot dear friend. It really worked.
Syed Shahid Hussain
-
Thanks a lot dear friend. It really worked.
Syed Shahid Hussain