troubleshooting Question

ASP.NET: Regional Currency Formats across Different Browsers

Avatar of JMS1965
JMS1965Flag for United States of America asked on
ASP.NETWeb Browsers
4 Comments3 Solutions643 ViewsLast Modified:
I have an ASP.NET application, which should display currency and date values in the format of the user's region.  I thought that the region could be determined from the browser, but maybe not in all browsers?

For example, in a gridview there is a column that displays currency values. The format string for the column is "c2".  Viewing this page with Internet Explorer, I can go to Tools --> Internet Options --> Languages; and if I change the language from "en-US" to any other culture, the currency format is changed to match the selected culture, as desired.

But, I have a user in the United Kingdom who says that viewing the gridview on his iPhone or iPad, the values are displayed for the U.S. (using the dollar symbol in currency and month before day in dates).

What can be done so that dates and currency values are formatted appropriate to the user's region / culture, regardless of the browser being used?

Thanks in advance -

P.S. This is a large site where dates and currency values are used on most pages.
David Johnson, CD
The More I know, the more I don't know
Join our community to see this answer!
Unlock 3 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros