My first post has been lost, I don't know why so I'm re-posting:
I want to detect only if the ENTER key was pressed in a gridview control. I won't change any grid behavior but detect it only since I'm trying to detect if a barcode has been scanned. We have this requirement that it should be able to scan anywhere in the page and we use ENTER as the indicator when a scan has been finished. It's working now on the entire page, however, if the focus is on the gridview, then it only moves to the next row.
Is there any way I can detect/trap the ENTER key on the gridview? Please help.
Thanks.
I want to detect only if the ENTER key was pressed in a gridview control. I won't change any grid behavior but detect it only since I'm trying to detect if a barcode has been scanned. We have this requirement that it should be able to scan anywhere in the page and we use ENTER as the indicator when a scan has been finished. It's working now on the entire page, however, if the focus is on the gridview, then it only moves to the next row.
Is there any way I can detect/trap the ENTER key on the gridview? Please help.
Thanks.