Hi,
I have a webcurrency edit on my page which can have -ve values.
problem is WebCurrencyEdit converts -100 into ($100). is there any way it will show -$100 instead of ($100)?
Thanks.
Hi Anand,
Most aspects of format are defined by CultureInfo object. That includes negative patterns as well. Besides country, patterns can be different for different "types" of number: number/currency/percent. You may configure those properties globally for whole page using culture of CurrentThread, or you can do that separately for every editor. I think there is NumericFormat property, which can be set within Page.OnLoad or similar event. You may look at sample applications for WebDataInput related to custom-formats and dot-net docs for CultureFormatInfo.
I was able to set that by setting its NumberFormat Property.