How to get the keycode press in a web form

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • win

    How to get the keycode press in a web form

    How to get the keycode press in a web form

    Vincent
  • Mark Rae [MVP]

    #2
    Re: How to get the keycode press in a web form

    "win" <a@a.comwrote in message
    news:u4QL%23tpt IHA.5580@TK2MSF TNGP04.phx.gbl. ..
    How to get the keycode press in a web form



    --
    Mark Rae
    ASP.NET MVP


    Comment

    • Steven Cheng [MSFT]

      #3
      RE: How to get the keycode press in a web form

      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

      l

      #Handling cross browser key press events in JavaScript


      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:
      msdnmg@microsof t.com.

      =============== =============== =============== =====
      Get notification to my posts through email? Please refer to
      Gain technical skills through documentation and training, earn certifications and connect with the community

      ications.

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


      --------------------
      >From: "win" <a@a.com>
      >Subject: How to get the keycode press in a web form
      >Date: Thu, 15 May 2008 22:51:21 +0800
      >
      >How to get the keycode press in a web form
      >
      >Vincent
      >

      Comment

      • Steven Cheng [MSFT]

        #4
        RE: How to get the keycode press in a web form

        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:
        msdnmg@microsof t.com.

        =============== =============== =============== =====
        Get notification to my posts through email? Please refer to
        Gain technical skills through documentation and training, earn certifications and connect with the community

        ications.
        =============== =============== =============== =====
        This posting is provided "AS IS" with no warranties, and confers no rights.
        --------------------
        bit
        >From: stcheng@online. microsoft.com (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
        >
        >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/..._onkeypress.ht
        m
        >l
        >
        >#Handling cross browser key press events in JavaScript
        >http://dev.kanngard.net/Permalinks/I...426091851.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:
        >msdnmg@microso ft.com.
        >
        >============== =============== =============== ======
        >Get notification to my posts through email? Please refer to
        >http://msdn.microsoft.com/subscripti...ault.aspx#noti
        f
        >ications.
        >
        >============== =============== =============== ======
        >This posting is provided "AS IS" with no warranties, and confers no rights.
        >
        >
        >--------------------
        >>From: "win" <a@a.com>
        >>Subject: How to get the keycode press in a web form
        >>Date: Thu, 15 May 2008 22:51:21 +0800
        >
        >>
        >>How to get the keycode press in a web form
        >>
        >>Vincent
        >>
        >
        >

        Comment

        Working...