472,781 Members | 1,250 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,781 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 1953
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Helene Day | last post by:
Sorry, this could be a newby question... but how do we do the keyboard shortcuts in .NET buttonname.text = "&Click Me" Does not give the short cut Alt-C for the button. Helene
331
by: Xah Lee | last post by:
http://xahlee.org/emacs/modernization.html ] The Modernization of Emacs ---------------------------------------- THE PROBLEM Emacs is a great editor. It is perhaps the most powerful and...
8
by: BD | last post by:
How can I duplicate the behavior of the operating system shortcut keys in my application? For example, my windows form has 5 controls (textboxes), the operating system will pickup which control...
8
by: panjap | last post by:
hi, i have a problem with my keyboard, whereby all the shortcuts are messed, up. My shift button is messed up, and does not work, e.g pressing 1 and shoft does not get the exclamation mark, and it...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.