Textbox event


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Textbox event

  1. #1
    Join Date
    Nov 2003
    Location
    New Jersey
    Posts
    60

    Textbox event

    I am new to ASP .Net and cannot find what evet is fired when you press enter in a textbox control. If someone could point me to a document I would appreciate it. I know I am trying to lookup the wrong topics.
    Thanks Clarence

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    If you have a submit button and a single textbox on the page, the button's Click event is fired when you press the enter key. If there are multiple textboxes or submit buttons, no server-side event is fired when you press enter. In that case, the textbox's client-side onKeyPress event is fired; you must use client-side JavaScript to handle the event.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Nov 2003
    Location
    New Jersey
    Posts
    60

    event

    Thank you, I would have never guessed to try to use the button on the screen.
    Thanks Clarence

Similar Threads

  1. Referencing textbox value on report from report event
    By Kevin Bouwman in forum VB Classic
    Replies: 0
    Last Post: 08-18-2002, 01:18 PM
  2. How long before the next version??
    By _CAG in forum .NET
    Replies: 146
    Last Post: 08-12-2002, 10:40 PM
  3. Re: App Object (fixes)
    By Rob Teixeira in forum .NET
    Replies: 129
    Last Post: 06-06-2002, 05:23 AM
  4. Com+ Event Again
    By Arger in forum VB Classic
    Replies: 0
    Last Post: 09-29-2000, 02:46 AM
  5. Problem with MouseDown event
    By Antonio Paglia in forum VB Classic
    Replies: 0
    Last Post: 05-24-2000, 10:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center