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.

Binded AppointmentTime of AppointmentTemplate in CustomizationDemo not changing when dragging or resizing.

Thread ID:

Created:

Updated:

Platform:

Replies:

127977 Dec 22,2016 07:43 AM Dec 26,2016 10:56 PM WPF 3
loading
Tags: SfSchedule
Andrzej
Asked On December 22, 2016 07:43 AM

Binded AppointmentTime of AppointmentTemplate in CustomizationDemo not changing when dragging or resizing. Changes are reflected only after opening editor and saving.
I tried to assign new value in Schedule_AppointmentEndResizing event, but

e.Appointment

Schedule.SelectedAppointment

don't expose AppointmentTime property. How to update AppointmentTime property in

public class Appointment : ScheduleAppointment, INotifyPropertyChanged

?


Jeyasri M [Syncfusion]
Replied On December 23, 2016 05:55 AM

Hi Andrzej, 
 
Thanks for your interest in Syncfusion products. 
 
We have already fixed the issue with Schedule events passed with only Schedule appointments even custom appointments added and the fix has been included in our latest version.  
 
So, could you please upgrade to our latest version 14.4 to achieve this requirement? 
 
Based on your requirement we have modified the Customization demo and please find the modified sample from below link. 
 
In the above sample, we have modified the custom appointment AppointmentTime property value using the AppointmentResizing event by listening its argument values on resizing. 
 
Schedule.AppointmentResizing += Schedule_AppointmentResizing;   
 
 private void Schedule_AppointmentResizing(object sender, AppointmentResizingEventArgs e) 
        { 
            (e.Appointment as Appointment).AppointmentTime = e.To.ToString("hh:mm tt"); 
        } 
 
 
Regards, 
Jeyasri M. 


Andrzej
Replied On December 24, 2016 02:09 AM

The solution helped. Thanks

Jeyasri M [Syncfusion]
Replied On December 26, 2016 10:56 PM

Hi Andrzej,   
  
We glad to hear that the given solution worked for you. Please let us know if you need any further assistance.  
  
Regards,  
Jeyasri M.  


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.

;