Link to home
Start Free TrialLog in
Avatar of dthansen
dthansen

asked on

ASP.NET - Display in Local Currency

We have an ASP.NET web portal (VB language) that we intend to use in the United States and the United Kingdom.

Around all the currency fields, we are using <asp:BoundField DataField="DocAmount" HeaderText="Amount" DataFormatString="{0:c2}"/> to control formatting of the value. On the developer's machine, if we flip the Regional Settings from United States to United Kingdom, the display of the currency fields changes as expected.

We recently deployed this project to a production machine in the UK and it shows United States currency format, not UK currency format. We have verified on that server that the Regional Settings are set to United Kingdom.

We noted that the currency format doesn't change on the developer's machine unless we do a rebuild AFTER we changed his regional settings.

Is there some setting on the UK production server that we might be missing?

Thanks,
Dean
ASKER CERTIFIED SOLUTION
Avatar of NazoUK
NazoUK
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial