We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Adding new control and hiding existing control in Create Appointment pop up

Thread ID:

Created:

Updated:

Platform:

Replies:

120543 Sep 24,2015 03:56 PM UTC Sep 25,2015 09:39 AM UTC ASP.NET MVC 1
loading
Tags: Schedule
saravanan
Asked On September 24, 2015 03:56 PM UTC

Hi,
      Is it possible to create new control in Create Appointment popup window like 

      NoOfUser   TextBox ( to input number of user attended while book an room)
   
     or hide existing control like All day or Repeat check boxes. 

     If yes, could you tell me how to do that. I have attached the screen shot.



Thanks
Saravanan .T
  

Attachment: Create_Appointment_284fe6fc.rar

Karthigeyan Krishnamurthi [Syncfusion]
Replied On September 25, 2015 09:39 AM UTC

Hi Saravanan,

Thanks for contacting Syncfusion Support.

Yes, it is possible to add one or more new fields in the Create Appointment popup window which can be achieved through custom appointment window sample. Kindly visit our online sample (link given below) to know more about the custom appointment window sample.

http://mvc.syncfusion.com/demos/web/schedule/customappwindow



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.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;