Ask a Question related to ASP.NET General, Design and Development.
-
Mark #1
RangeValidator with currency
I've set the type of my RangeValidator to be Currency. My min to max range
is set as 0 to 99999. When I enter a value of $5, it claims it doesn't meet
the criteria. If I change it to 5, without the $ symbol, it works fine.
I'd like to allow people to enter the $ if they choose to. I tried making
the max $99999 instead of 99999, but it errors out saying that "The value
'$99999.00' of the MaximumValue property of 'rvSirSalary' cannot be
converted to type 'Currency'." LOL.
Is there a way around this?
Thanks in advance!
Mark
Mark Guest
-
format currency
Hello All & Greetings. Can someone pl tell me in a hurry how I can format a currency item in 2 decimal places. thanks in advance. RK -
cfinput validation for currency
hi, after consulting my CF book and doing multiple searches here i can't find what the cfinput validation attribute is for currency... surely... -
Currency Converter
Hi, I am looking for a free and customizable currency converter for my website. In particular I would like to be able to change the language and... -
currency formatting
Hi guys, i'm trying to format the output of a record in access, which i am pulling from through php (odbc) and the formatting is set at 4 decimal... -
Format Currency in ASP?
Is there an easy way to format a number into a currency display style eg: $100,000. I have this set in my Access database on the field but my asp... -
Eric #2
Re: RangeValidator with currency
Despite what the documentation says (at least in the 1.0 docs, haven't
checked the 1.1 docs), the validators don't support currency symbols. You
have to enter the value without it.
Eric
"Mark" <field027_nospam_@umn.edu> wrote in message
news:eCs0JQvRDHA.1576@TK2MSFTNGP12.phx.gbl...range> I've set the type of my RangeValidator to be Currency. My min to maxmeet> is set as 0 to 99999. When I enter a value of $5, it claims it doesn't> the criteria. If I change it to 5, without the $ symbol, it works fine.
> I'd like to allow people to enter the $ if they choose to. I tried making
> the max $99999 instead of 99999, but it errors out saying that "The value
> '$99999.00' of the MaximumValue property of 'rvSirSalary' cannot be
> converted to type 'Currency'." LOL.
>
> Is there a way around this?
>
> Thanks in advance!
> Mark
>
>
Eric Guest
-
David Waz... #3
Re: RangeValidator with currency
Use a regular expression validator intead.
"Mark" <field027_nospam_@umn.edu> wrote in message
news:eCs0JQvRDHA.1576@TK2MSFTNGP12.phx.gbl...range> I've set the type of my RangeValidator to be Currency. My min to maxmeet> is set as 0 to 99999. When I enter a value of $5, it claims it doesn't> the criteria. If I change it to 5, without the $ symbol, it works fine.
> I'd like to allow people to enter the $ if they choose to. I tried making
> the max $99999 instead of 99999, but it errors out saying that "The value
> '$99999.00' of the MaximumValue property of 'rvSirSalary' cannot be
> converted to type 'Currency'." LOL.
>
> Is there a way around this?
>
> Thanks in advance!
> Mark
>
>
David Waz... Guest



Reply With Quote

