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

[Solved] Set RadGridView Culture?

4 Answers 299 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
FieldTRAKS
Top achievements
Rank 1
FieldTRAKS asked on 18 Nov 2009, 03:51 PM
Does radgridview have a culture setting. THe instructions in the control are in english (Regarding grouping by column) I would like that to switch to spanish, french etc Based on the current culture settings. My RadDatePicker changes but the GridView stays in english.

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 18 Nov 2009, 03:55 PM
Hi,

Please check this demo to know more how to localize the grid.

All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Simone Ravetto
Top achievements
Rank 1
answered on 20 Jan 2010, 02:29 PM
Hi,

I need to display a DateTime object in a RadGridView, in order to use the calendar control in edit mode.
Can I set culture to this calendar control? Can I write the date according to a format (for example "dd/MM/YYYY") without cast DateTIme object to string (this procedure will disable calendar control because object type is no longer DateTime)?

Thanks
Simo
0
Stefan Dobrev
Telerik team
answered on 25 Jan 2010, 04:05 PM
Hi Simone,

You can use the DataFormatString property of the column to change the display format for the column cells. If you want to change the culture of the editing picker you can use the EditorStyle property of the column to customize the Culture property of the RadDatePicker.

Hope this helps,
Stefan Dobrev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Simone Ravetto
Top achievements
Rank 1
answered on 26 Jan 2010, 04:08 PM
Hi Stefan,
DataFormatString property works perfectly, thanks a lot.

Simo
Tags
GridView
Asked by
FieldTRAKS
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Simone Ravetto
Top achievements
Rank 1
Stefan Dobrev
Telerik team
Share this question
or