I would like to use the RadDateTimePicker in my AdvancedInsert/Edit Templates. However, I can't find any documentation to resolve the issue I am experiencing. The code below includes the RadDateTimePicker as the startInput control. VS reports that DateFormat is not a member of RadDateTimePicker. Can someone shed some light on how to use this control?
The user needs the ability to alter the time frame of the appointment from the form.
Thank you for your time.
Al
If
((e.Container.Mode = SchedulerFormMode.AdvancedInsert) _
OrElse (e.Container.Mode = SchedulerFormMode.AdvancedEdit)) Then
Dim subjectBox As TextBox = CType(e.Container.FindControl("TitleTextBox"), TextBox)
subjectBox.Text = e.Appointment.Subject
Dim startInput As RadDateTimePicker = CType(e.Container.FindControl("StartInput"), RadDateTimePicker)
startInput.DateFormat = (scheduler.EditFormDateFormat + (
" " + scheduler.EditFormTimeFormat))
startInput.SelectedDate = RadScheduler1.DisplayToUtc(e.Appointment.Start)
Dim endInput As RadDateInput = CType(e.Container.FindControl("EndInput"), RadDateInput)
endInput.DateFormat = (scheduler.EditFormDateFormat + (
" " + scheduler.EditFormTimeFormat))
endInput.SelectedDate = RadScheduler1.DisplayToUtc(e.Appointment.End)
End If