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.
Unfortunately, activation email could not send to your email. Please try again.

Change the appearance of the "Create/Edit Appointment" dialog

Thread ID:

Created:

Updated:

Platform:

Replies:

128906 Feb 15,2017 05:07 AM Feb 17,2017 12:00 AM ASP.NET MVC 3
loading
Tags: Schedule
Cornel Amarandei
Asked On February 15, 2017 05:07 AM

Hi,

I need to do the following two changes:

- Remove the word "Appoinment" from the title.
- Hide the "Subject" label and textbox(I will give a hardcoded value before saving into the database).

Also, I want to change the delete confirmation "Are you sure you want to delete this appoinment?" into "Are you sure you want to delete this?".

Thanks,
Cornel.

Karthigeyan Krishnamurthi [Syncfusion]
Replied On February 16, 2017 05:42 AM

Hi Cornel,   
   
Thank you for contacting Syncfusion support.   
   
By default, Scheduler locale words can be customized and for the same we have prepared a sample for your reference which can be download from the below location.   
   
When an appointment/cell is, double clicked, AppointmentWindowOpen event will be raised, where Subject field can be hidden and kindly refer the below code example used in the sample 
 
<Code> 
var customizationMessage = { 
    // customize the appointment window title 
    CreateAppointmentTitle: "Create Event", 
    Editevent: "Edit Event", 
    DeleteConfirmation: "Are you sure you want to delete this?", 
}; 
 
// Extend only the required changes to the original locale collection 
$.extend(ej.Schedule.Locale["en-US"], customizationMessage); 
 
function onAppointmentWindowOpen(args) { // this function will be called before opening the app window 
    this._appointmentAddWindow.find("#" + this._id + "subjecttr").css("display", "none"); 
} 
</Code> 
 
Kindly visit the below link to know more about Localizing specific words and events.   
   
Regards,   
Karthigeyan   


Cornel Amarandei
Replied On February 16, 2017 05:58 AM

Hi Karthigeyan,

Thanks for your help. It works very good.

Regards,
Cornel.

Karthigeyan Krishnamurthi [Syncfusion]
Replied On February 17, 2017 12:00 AM

Hi Cornel,  
 
Thanks for your update. 
 
We are happy to hear that our solution has fulfilled your requirement. 
 
Please let us know if you need further assistance. 
 
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.

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.

;