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

Decimal Separator

1 Answer 213 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Paulo
Top achievements
Rank 1
Paulo asked on 09 Apr 2008, 07:52 PM
How can I ignore any Regional Settings from the Machine/User and implement a code based culture/region to set that all Telerik Reports Numeric fields have a specific decimal separator?

1 Answer, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 14 Apr 2008, 07:24 AM
Hi Paulo,

You can create a custom CultureInfo object and assign it to the CurrentCulture property of the thread. For example:

    System.Threading.Thread.CurrentThread.CurrentCulture =
                new System.Globalization.CultureInfo("En-us");


More information about the CultureInfo class you can find here.

 
Regards,
Chavdar
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Paulo
Top achievements
Rank 1
Answers by
Chavdar
Telerik team
Share this question
or