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. General Programming
  3. Visual Basic
  4. textbox in .ASP webform

textbox in .ASP webform

Scheduled Pinned Locked Moved Visual Basic
questionhelp
3 Posts 2 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.
  • S Offline
    S Offline
    SiliconScout
    wrote on last edited by
    #1

    Hey there. I am having a problem in that on my web form hitting the enter key is equal to clicking the submit button on the webform. I have a series of text boxes on the page that the use enters in transactional information and I would like the enter key to either jump to the next text box or do nothing. I know with a windows app I would use the Keypressed method, but the webform control obviously is missing this method. How do I go about fixing this anyone? Thanks.

    D 1 Reply Last reply
    0
    • S SiliconScout

      Hey there. I am having a problem in that on my web form hitting the enter key is equal to clicking the submit button on the webform. I have a series of text boxes on the page that the use enters in transactional information and I would like the enter key to either jump to the next text box or do nothing. I know with a windows app I would use the Keypressed method, but the webform control obviously is missing this method. How do I go about fixing this anyone? Thanks.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      One, your question belongs in the ASP.NET Forum. Two, your right. That functionality doesn't exist in a web page. You'll have to simulate it using client-side JavaScript. ASP.NET is a server-side only technology that generates HTML for a browser, nothing more. And no, I don't know exactly how to do it. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      S 1 Reply Last reply
      0
      • D Dave Kreskowiak

        One, your question belongs in the ASP.NET Forum. Two, your right. That functionality doesn't exist in a web page. You'll have to simulate it using client-side JavaScript. ASP.NET is a server-side only technology that generates HTML for a browser, nothing more. And no, I don't know exactly how to do it. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        S Offline
        S Offline
        SiliconScout
        wrote on last edited by
        #3

        ahh thanks I am pretty new here. I will take the question over to the ASP.NET forum. Thanks again.

        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