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

FormatString problem with swedish culture

1 Answer 104 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Per
Top achievements
Rank 1
Per asked on 08 Apr 2009, 01:02 PM
Hi!

I'm running a English Windows Vista 32bit, current culture is set to Swedish-Swedish.
In my grid, I have a decimal column with formatstring set to "{0:N2} kr"

When I enter the value 10000 this gets formated to "10,000.00 kr"
Acording to the swedish culture information, it suppose to be formated into "10 000,00 kr"

What am I doing wrong ?

Regards
Per

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 10 Apr 2009, 03:49 PM
Hi Per,

Thank you for your question. Please set FormatInfo property to Swedish(Sweden). See the attached screenshot.

Do not hesitate to write us back if you have further questions.

Best wishes,
Nick
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Per
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or