How to get the keycode press in a web form

  • Thread starter Thread starter win
  • Start date Start date
Hi Vincent,

Since ASP.NET web application is stateless, the server-side page event
model doesn't support those frequent and realtime interactive event such as
"key press" and "key down"...

Normally, we'll use client-side script to handle such key press event. Here
are some web articles introducing this:

#EVENT HANDLER: onKeyPress
http://www.devguru.com/technologies/ecmascript/QuickRef/evhan_onkeypress.htm
l

#Handling cross browser key press events in JavaScript
http://dev.kanngard.net/Permalinks/ID_20050426091851.html

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
 
Hi Vincent,

Have you resolved the issue? If you have any further questions, welcome to
post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
bit
From: (e-mail address removed) (Steven Cheng [MSFT])
Organization: Microsoft
Date: Fri, 16 May 2008 03:14:29 GMT
Subject: RE: How to get the keycode press in a web form
 
Back
Top