GridDateTimeColumn TimePicker layout/style/formatting

1 posts, 0 answers
  1. Ben
    Ben avatar
    13 posts
    Member since:
    Aug 2015

    Posted 19 Sep 2017 Link to this post

    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?

     

Back to Top