Page 1 of 1

Global Currency Symbol

Posted: Sat Aug 04, 2007 10:09 pm
by fkmfkm
Is it possible to have a global currency symbol without depending on




Thank you.

Global Currency Symbol

Posted: Sun Aug 05, 2007 12:40 am
by Vital
Global currency symbol does not depend on current localization. It depend from Windows Regional Settings.

You need use it in TextFormat property?

Thank you.

Global Currency Symbol

Posted: Mon Aug 06, 2007 10:01 am
by fkmfkm
No, from what i tested it depends on the localization in my web.config.


My web.config culture is en-GB and the symbols prints out as the UK Pound sign.

Global Currency Symbol

Posted: Mon Aug 06, 2007 12:25 pm
by Vital
Yes, you are right, in web applications currency symbol depends from settings in web.config too.

Global Currency Symbol

Posted: Wed Aug 08, 2007 4:20 am
by fkmfkm
Is there any way i can override the setting in web.config ? cause for my ap en-GB is correct for everything except the currency sysbol. I need my currency symbol to be some other character.

Please Help

Global Currency Symbol

Posted: Wed Aug 08, 2007 5:33 am
by Vital
You can use following code:

Code: Select all

System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US", false);
Thank you.