Hello!
I am using version 2010.1.519.35, and get a problem, in GridDateTimeColumn, i set PickerType="TimePicker", this aspx code:
and code behind:
DateInput's properties works fine, but TimeView does not. In time popup, timeformat's still "t", not "HH:mm", and columns number is three (3). Please help me solve this proplem.
(Sorry for my bad english)
Thanks so much!
I am using version 2010.1.519.35, and get a problem, in GridDateTimeColumn, i set PickerType="TimePicker", this aspx code:
<tlk:GridDateTimeColumn PickerType="TimePicker" DataFormatString="{0: HH:mm}" DataField="StartTime" HeaderText="Start time" UniqueName="StartTime">
<HeaderStyle Width="110px" />
<ItemStyle Wrap="true" /></tlk:GridDateTimeColumn>and code behind:
protected void _grid_ItemDataBound(object sender, GridItemEventArgs e){ if (e.Item is GridEditableItem && e.Item.IsInEditMode) { ((RadTimePicker)item["StartTime"].Controls[0]).TimeView.TimeFormat = "HH:mm"; ((RadTimePicker)item["StartTime"].Controls[0]).TimeView.Columns = 2; ((RadTimePicker)item["StartTime"].Controls[0]).DateInput.DateFormat = "HH:mm"; ((RadTimePicker)item["StartTime"].Controls[0]).DateInput.DisplayDateFormat = "HH:mm"; }}DateInput's properties works fine, but TimeView does not. In time popup, timeformat's still "t", not "HH:mm", and columns number is three (3). Please help me solve this proplem.
(Sorry for my bad english)
Thanks so much!