RangeValidator validate failed when input with currency symbol

H

HipHopper

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top