Check for numeric value in a textbox

Discussion in 'ASP .Net' started by Kiran, Apr 7, 2005.

  1. Kiran

    Kiran Guest

    Hi,

    How can I check whether the value entered in a textbox is numeric without
    doing a postback

    Kiran
     
    Kiran, Apr 7, 2005
    #1
    1. Advertising

  2. This article shows how to use javascript to limit numeric data entry only in
    a textbox:
    http://SteveOrr.net/articles/InheritAndExtend.aspx

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://SteveOrr.net


    "Kiran" <> wrote in message
    news:%...
    > Hi,
    >
    > How can I check whether the value entered in a textbox is numeric without
    > doing a postback
    >
    > Kiran
    >
     
    Steve C. Orr [MVP, MCSD], Apr 7, 2005
    #2
    1. Advertising

  3. Kiran

    Kiran Guest

    Hi Steve,

    This way doesn't allow me to enter decimal value.

    Thanks
    Kiran

    "Steve C. Orr [MVP, MCSD]" <> wrote in message
    news:%...
    > This article shows how to use javascript to limit numeric data entry only
    > in a textbox:
    > http://SteveOrr.net/articles/InheritAndExtend.aspx
    >
    > --
    > I hope this helps,
    > Steve C. Orr, MCSD, MVP
    > http://SteveOrr.net
    >
    >
    > "Kiran" <> wrote in message
    > news:%...
    >> Hi,
    >>
    >> How can I check whether the value entered in a textbox is numeric without
    >> doing a postback
    >>
    >> Kiran
    >>

    >
    >
     
    Kiran, Apr 7, 2005
    #3
    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. nalakainfo
    Replies:
    0
    Views:
    652
    nalakainfo
    Jan 31, 2007
  2. Replies:
    5
    Views:
    984
    X-Centric
    Jun 30, 2005
  3. darrel
    Replies:
    4
    Views:
    870
    darrel
    Jul 19, 2007
  4. jobs

    int to numeric numeric(18,2) ?

    jobs, Jul 21, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    1,022
    =?ISO-8859-1?Q?G=F6ran_Andersson?=
    Jul 22, 2007
  5. Replies:
    1
    Views:
    198
    Bob Barrows [MVP]
    Feb 5, 2008
Loading...

Share This Page