This is a migrated thread and some comments may be shown as answers.

[Solved] Currency format is set to dollar, not stirling on Ajax rebind

1 Answer 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dean
Top achievements
Rank 1
Dean asked on 18 Feb 2011, 12:21 PM
In a grid showing currency values, when I display them first using normal model binding, the currency shows as £, as I have the format set to "{0:C}"

However on doing an AJAX re-bind, the currency is displayed as $.

Any ideas?

1 Answer, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 18 Feb 2011, 12:22 PM
Hello Dean,

 Make sure you have enabled globalization:

<% Html.Telerik().ScriptRegistrar().Globalization(true); %>

All the best,
Atanas Korchev
the Telerik team
Tags
Grid
Asked by
Dean
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or