I have 2 RadDateTimePicker controls on the page and after user changes time on the first control I want to set another control to display time shown in 1st control (and plus 30 minutes). I've tried using <ClientEvents OnDateSelected="changeEndDate" /> and this javascript but it does not seem to work. Both controls are located inside of an AdvancedInsertTemplate of RadScheduler.
What am I doing wrong? Thanks
function changeEndDate(sender, eventArgs) {
var endDate = $telerik.$("[id$='EndInput']");
var newDate = eventArgs.get_newValue();
endDate.set_selectedDate(newDate);
}
What am I doing wrong? Thanks