Keyboard shortcuts, please help.

Discussion in 'ASP .Net' started by Erland, Oct 12, 2006.

  1. Erland

    Erland Guest

    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
    Erland, Oct 12, 2006
    #1
    1. Advertising

  2. Erland

    Mischa Kroon Guest

    This can be done using javascript to capture the keys.

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

    to get you in the right direction :)


    "Erland" <> wrote in message
    news:...
    > 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
    >
    Mischa Kroon, Oct 12, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ekta

    keyboard shortcuts in asp.net

    ekta, Jun 29, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    1,189
  2. Mark Space

    Keyboard Shortcuts in Netbeans

    Mark Space, Apr 7, 2008, in forum: Java
    Replies:
    0
    Views:
    389
    Mark Space
    Apr 7, 2008
  3. aud2008

    Custom keyboard shortcuts

    aud2008, Nov 9, 2008, in forum: Python
    Replies:
    1
    Views:
    235
    Lie Ryan
    Nov 9, 2008
  4. aud2008

    Custom keyboard shortcuts

    aud2008, Nov 9, 2008, in forum: C Programming
    Replies:
    0
    Views:
    249
    aud2008
    Nov 9, 2008
  5. Replies:
    2
    Views:
    190
Loading...

Share This Page