Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. On Enter move on next TextBox..?

On Enter move on next TextBox..?

Scheduled Pinned Locked Moved ASP.NET
question
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fmlove
    wrote on last edited by
    #1

    Hi! i want..... when i enter on a textbox cursor move to next field

    K 1 Reply Last reply
    0
    • F fmlove

      Hi! i want..... when i enter on a textbox cursor move to next field

      K Offline
      K Offline
      koolprasad2003
      wrote on last edited by
      #2

      hello frnd, it can be achived by the Javascript/VbScript just use the "onKeyDown" event and check that if event.keyCode = 13 { document.getElementById("txtSecond").focus(); } regards, koolprasad2003:)

      If the message is useful for U then please Rate This message... Be a good listener...Because Opprtunity knoughts softly...N-Joy

      F 1 Reply Last reply
      0
      • K koolprasad2003

        hello frnd, it can be achived by the Javascript/VbScript just use the "onKeyDown" event and check that if event.keyCode = 13 { document.getElementById("txtSecond").focus(); } regards, koolprasad2003:)

        If the message is useful for U then please Rate This message... Be a good listener...Because Opprtunity knoughts softly...N-Joy

        F Offline
        F Offline
        fmlove
        wrote on last edited by
        #3

        Thanks for help dear but can you tell me how can i get the next textbox name...

        M 1 Reply Last reply
        0
        • F fmlove

          Thanks for help dear but can you tell me how can i get the next textbox name...

          M Offline
          M Offline
          Michael Sync
          wrote on last edited by
          #4

          fmlove wrote:

          dear but can you tell me how can i get the next textbox name..

          You have your page or project with you. isn't it? :) So, go and take a look... and decide which textbox you want the cursor to move when you press the "Enter" key. OR Do you wanna detect automatically to the next control after current one?? It's hard to say since it is based on the design.

          Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups