471,092 Members | 1,583 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,092 software developers and data experts.

Keyboard shortcuts, please help.

Hello,

I am using asp.net 2.0 and I want to add keyboard shortcuts to my
application just like the shortcuts you see in GMAIL. I was wondering
how can I do this in ASP.NET? Scenerio that would like to implement is
as follows
" User hits ALT-A on hitting ALT-A a server-side event is raised"
Is this possible, I mean can a server side event be raised with a
keyboard shortcut OR I will have to raise a client side event? I am
kind of confused, I will appreciate if anyone can point me to the right
direction.

--Erikson

Oct 12 '06 #1
1 1897
This can be done using javascript to capture the keys.

Have a look at this:
http://www.devguru.com/Technologies/...onkeydown.html
or this:
http://www.w3schools.com/jsref/jsref_onkeydown.asp

to get you in the right direction :)
"Erland" <Er************@gmail.comwrote in message
news:11**********************@k70g2000cwa.googlegr oups.com...
Hello,

I am using asp.net 2.0 and I want to add keyboard shortcuts to my
application just like the shortcuts you see in GMAIL. I was wondering
how can I do this in ASP.NET? Scenerio that would like to implement is
as follows
" User hits ALT-A on hitting ALT-A a server-side event is raised"
Is this possible, I mean can a server side event be raised with a
keyboard shortcut OR I will have to raise a client side event? I am
kind of confused, I will appreciate if anyone can point me to the right
direction.

--Erikson

Oct 12 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.