Numbers or letters in a TextBox

Discussion in 'ASP .Net Web Controls' started by PABLIN, Aug 26, 2003.

  1. PABLIN

    PABLIN Guest

    How I can have a TextBox that to only lets me enter
    letters or numbers?
    PABLIN, Aug 26, 2003
    #1
    1. Advertising

  2. PABLIN

    Alvin Bruney Guest

    you are going to need javascript for this. Catch the key event and determine
    whether or not it is alphanumeric, cancel the event if it is not what you
    are looking for.

    "PABLIN" <> wrote in message
    news:000001c36bdb$46d59c40$...
    > How I can have a TextBox that to only lets me enter
    > letters or numbers?
    >
    Alvin Bruney, Aug 26, 2003
    #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. Pablo

    Numbers or letters in a TextBox

    Pablo, Aug 26, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    403
    Jerry III
    Aug 26, 2003
  2. rh0dium

    Convert from numbers to letters

    rh0dium, May 19, 2005, in forum: Python
    Replies:
    30
    Views:
    25,122
    Bill Mill
    May 20, 2005
  3. Merrigan
    Replies:
    4
    Views:
    565
    Chris
    Dec 14, 2007
  4. PABLIN

    Numbers or letters in a TextBox

    PABLIN, Aug 26, 2003, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    155
  5. Venugopal
    Replies:
    11
    Views:
    1,518
    Tassilo v. Parseval
    Nov 5, 2003
Loading...

Share This Page