RangeValidator - not working when user enters a space

Discussion in 'ASP .Net' started by =?Utf-8?B?dGNi?=, Apr 26, 2004.

  1. I have a RangeValidator setup for two input fields. The validator Type is set to Integer. If the user enters an alpha numeric, the validator works, however, if the user enters a space, the validator does not work. Does anyone know why this validator doesn't work for a space (or how to fix it
    Thanks
    tcb
     
    =?Utf-8?B?dGNi?=, Apr 26, 2004
    #1
    1. Advertising

  2. Hi,

    you can keep a regular expression validator on that input field which does
    not allow the user to input any spaces. should solve your problem

    Regards
    Ashish M Bhonkiya

    "tcb" <> wrote in message
    news:...
    > I have a RangeValidator setup for two input fields. The validator Type is

    set to Integer. If the user enters an alpha numeric, the validator works,
    however, if the user enters a space, the validator does not work. Does
    anyone know why this validator doesn't work for a space (or how to fix it)
    > Thanks!
    > tcb
     
    Ashish M Bhonkiya, Apr 27, 2004
    #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. Lucas Tam

    Help: RangeValidator Not Working!

    Lucas Tam, Jan 31, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    963
    =?Utf-8?B?S29zdGFkaW4gS29zdG92?=
    Jan 31, 2005
  2. =?Utf-8?B?cG11ZA==?=
    Replies:
    3
    Views:
    874
    =?Utf-8?B?cG11ZA==?=
    Feb 10, 2005
  3. Replies:
    0
    Views:
    347
  4. Replies:
    4
    Views:
    703
    Walter Roberson
    Sep 9, 2005
  5. Deiva Rajasingam
    Replies:
    3
    Views:
    256
    Deiva Rajasingam
    Jul 29, 2009
Loading...

Share This Page