Hello,
I am using the RadScheduler and Inserting Appointments with a Custom Editor. I would like to control what is the Default Start time for eventArgs.get_StartTime() coming from the OnClientAppointmentInserting in Month View. Since there is no start time like in the Week or Day view the default becomes Midnight which doesn't go well with a Default View of Work Hours. So the end user has to update the Start time to a business hour or the new appointment doesn't initialy show in the default work hours for Day and Week View. So is there a way to set this default time to 8am or a way to determine if the eventArgs are coming from MonthView.
I am using the RadScheduler and Inserting Appointments with a Custom Editor. I would like to control what is the Default Start time for eventArgs.get_StartTime() coming from the OnClientAppointmentInserting in Month View. Since there is no start time like in the Week or Day view the default becomes Midnight which doesn't go well with a Default View of Work Hours. So the end user has to update the Start time to a business hour or the new appointment doesn't initialy show in the default work hours for Day and Week View. So is there a way to set this default time to 8am or a way to determine if the eventArgs are coming from MonthView.
function AppointmentInserting(sender, eventArgs) |
{ |
var start = formatDate(eventArgs.get_StartTime()); |
ShowEditForm("0",start); |
eventArgs.set_cancel(true); |
} |