Hi:
This not a question, but an answer.
<
Telerik:GridDateTimeColumn
DataField
=
"SampleTime"
UniqueName
=
"SampleTimeColumn"
HeaderText
=
"Time"
HeaderStyle-Width
=
"90px"
ItemStyle-Width
=
"86px"
DataType
=
"System.DateTime"
PickerType
=
"TimePicker"
>
</
Telerik:GridDateTimeColumn
>
The problem is the width of 90px does not allow for the full display of the date-time picker, so in code behind:
WebControl _timeGridControl = _item["SampleTimeColumn"];
if (_timeGridControl.Controls.Count > 0)
{
RadTimePicker _timeTextBox = (RadTimePicker)_timeGridControl.Controls[0];
_timeTextBox.Width = new Unit("80px");
_timeTextBox.DateInput.DisplayDateFormat = "HH:mm";
_timeTextBox.DateInput.DateFormat = "HH:mm";
}
Phil