BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
We have prepared the sample to meet your requirement on “Adding new control and hiding existing control in Create Appointment pop up”. The sample can be downloaded from the following location:
http://www.syncfusion.com/downloads/support/forum/120543/ze/ScheduleCRUD395545268
Please find the following code example that we have used in the above sample
<code>
function onAppointmentWindowOpen(args) { // This function will be called while double clicking the cell
args.cancel = true; // Here we will prevent the default create appointment window being open
var quickobj = $("#Schedule1AppointmentQuickWindow").data("ejDialog");
quickobj.close();
$("#StartTime").ejDateTimePicker({ value: args.startTime });
$("#EndTime").ejDateTimePicker({ value: args.endTime });
if (!ej.isNullOrUndefined(args.appointment)) {
$("#customId").val(args.appointment.Id);
$("#user").val(args.appointment.User); // Here the input text box “No of user” value will be dsplayed if the appointment is created with the value given in that text box
$("#customdescription").val(args.appointment.Description);
$("#StartTime").ejDateTimePicker({ value: new Date(args.appointment.StartTime) });
$("#EndTime").ejDateTimePicker({ value: new Date(args.appointment.EndTime) });
$("#customWindow").ejDialog("open");
}
else
$("#customWindow").ejDialog("open");
}
Kindly make use of our online User Guide documentation for Custom appointment window.
http://help.syncfusion.com/js/schedule/customization#editing-customized-appointment-window
Regards,
Karthigeyan.