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

GridDateTimeColumn of time formate problem

1 Answer 40 Views
Grid
This is a migrated thread and some comments may be shown as answers.
shanker bangari
Top achievements
Rank 1
shanker bangari asked on 06 Apr 2010, 03:32 PM
Hi,

this is shanker am using GridDateTimeColumn  in rad grid.It's fine it's working but here time show 1 am and 1 pm and 9 am and 9 pm ......... just like that. But i want  0 to 23 hrs how to get that formate please send any solutions 

this is my column 
 <telerik:GridDateTimeColumn DataField="start_time" HeaderText="Start Time" SortExpression="start_time" 
                       UniqueName="start_time" DataFormatString="{0:t}" PickerType="TimePicker" 
                       DataType="System.DateTime"  > 
                    </telerik:GridDateTimeColumn> 

thanks and regards 
shanker.B 

1 Answer, 1 is accepted

Sort by
0
Bruno
Top achievements
Rank 2
answered on 07 Apr 2010, 08:30 PM
hi

this is Bruno and am think you can change the treadth culture - column format is depend on the curent culture

one more way to this is to custom format as in msdn
http://msdn.microsoft.com/en-us/library/az4se3k1.aspx

thanks
Tags
Grid
Asked by
shanker bangari
Top achievements
Rank 1
Answers by
Bruno
Top achievements
Rank 2
Share this question
or