Hi,
I have following datetime column:
now in the edit / insert form I have to enter only minutes in the form of HH:MM e.g. 00:50 . But in edit mode I have a small timeview button and when i type time 00:50 and press tab it converts it into 12:50 AM on the edit form. Time is represented in correct format (hh:mm) in the grid because i have setup dataformatstring. Now two questions:
1) How can I remove that TimeView button in the Edit mode?
2) How can I setup the input format for datetimecolumn , so that it should enter the time as it is entered e.g. 00:50 and not 12:50 AM.
Your help in this will be highly appreciated.
Cheers,
Ali
I have following datetime column:
<
telerik:GridDateTimeColumn PickerType="TimePicker" DataField="DrivingMinutesFromLastCity" HeaderText="Driving Time (MM)"
SortExpression="DrivingMinutesFromLastCity" DataType="System.DateTime" UniqueName="DrivingMinutesFromLastCity" DataFormatString="{0:HH:mm}" >
</telerik:GridDateTimeColumn>
now in the edit / insert form I have to enter only minutes in the form of HH:MM e.g. 00:50 . But in edit mode I have a small timeview button and when i type time 00:50 and press tab it converts it into 12:50 AM on the edit form. Time is represented in correct format (hh:mm) in the grid because i have setup dataformatstring. Now two questions:
1) How can I remove that TimeView button in the Edit mode?
2) How can I setup the input format for datetimecolumn , so that it should enter the time as it is entered e.g. 00:50 and not 12:50 AM.
Your help in this will be highly appreciated.
Cheers,
Ali