<telerik:radscheduler id="RadScheduler1" runat="server" Skin="WebBlue" Height="460px"
OnAppointmentDelete="RadScheduler1_AppointmentDelete" StartEditingInAdvancedForm="false" OnAppointmentCreated="RadScheduler1_AppointmentCreated"
OnClientAppointmentInserting="AppointmentInserting" OnClientAppointmentEditing="AppointmentEditing">
<AppointmentTemplate>
<asp:Label runat="server" ID="lblEventName" />
</AppointmentTemplate>
</telerik:radscheduler>
It is this line of code that causes the problem:
startDateString =
"#" & Format(StartDate.SelectedDate, "MM/dd/yyyy")
startTimeString = StartTime.SelectedDate.Value.ToShortTimeString &
"#"
CalendarEventBE.EventStartTime =
CDate(startDateString & " " & startTimeString)
As an example, I inserted an appointment then tried to change the date from 6/1 4:45pm to 6:15pm to: 6/3 5:00pm to 7:00pm. I changed the information on my screen and clicked 'Update'. Here are the values of the above:
startDateString = "#06/03/2010"
startTimeString = "12:00 AM#" HERE IS THE PROBLEM. Why is this not returning my time??? It works fine on the insert.
Thanks and let me know if you need additional information.
Susan