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

GridDateTimeColumn TimePicker layout/style/formatting

0 Answers 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Ben asked on 19 Sep 2017, 06:19 AM

Aspx :

<telerik:GridDateTimeColumn DataField="StartDateTime" HeaderText="Start" DataType="System.DateTime" PickerType="DateTimePicker" />

 

VB :

Dim dteFrom As RadDateTimePicker = CType(item("StartDateTime").Controls(0), RadDateTimePicker)
 
dteFrom.SharedTimeView.TimeFormat = GetShortTimeFormat()
dteFrom.TimeView.TimeFormat = GetShortTimeFormat()
dteFrom.DateInput.DateFormat = GetShortDateFormat() + " " + GetShortTimeFormat()
dteFrom.DateInput.DisplayDateFormat = GetShortDateFormat() + " " + GetShortTimeFormat()
 
dteFrom.SharedTimeView.Interval = New TimeSpan(0, 15, 0)
dteFrom.SharedTimeView.Columns = 8

 

The Time Picker appears as a huge list of 8 x 12 times for selection.

Is there an option to have a Hour selector, and a Minute selector?

Seems there is a workaround for a RadDateTimePicker :

    http://www.telerik.com/forums/raddatetimepicker-select-seperate-hours-and-time

How can I hook this into the GridDateTimeColumn?

 

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Ben
Top achievements
Rank 1
Share this question
or