RangeValidator validate failed when input with currency symbol

Discussion in 'ASP .Net' started by HipHopper, Jul 24, 2008.

  1. HipHopper

    HipHopper Guest

    Hi,

    I have a composited control with a Textbox and a Rangevalidator.

    If I am not mistaken, Rangevalidator should take currency ($) symbol, but I
    got the validation error when user enter -$100 in the text box. It will
    succeed if -100.

    So I tried add a property called "MoneyValue", return a Decimal only value
    and use [ValidationPropertyAttribute("MoneyValue")], hopping RangeValidator
    validate "MoneyValue" instead of Textbox, not working.

    What did I miss?

    Help, Please.
    --
    HipHopper
     
    HipHopper, Jul 24, 2008
    #1
    1. Advertising

  2. HipHopper

    Munna Guest

    Munna, Jul 24, 2008
    #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. Mark

    RangeValidator with currency

    Mark, Jul 10, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    1,676
    David Waz...
    Jul 11, 2003
  2. Eric Layman
    Replies:
    0
    Views:
    443
    Eric Layman
    Apr 10, 2007
  3. lander
    Replies:
    1
    Views:
    752
    Mark Fitzpatrick
    Mar 6, 2008
  4. Cirene
    Replies:
    1
    Views:
    1,039
    Munna
    May 27, 2008
  5. Song Ma
    Replies:
    2
    Views:
    258
    Charles Oliver Nutter
    Jul 20, 2008
Loading...

Share This Page