This is a migrated thread and some comments may be shown as answers.

Update edit appointment dialog on property changed

4 Answers 90 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
tarnegur
Top achievements
Rank 1
tarnegur asked on 30 Dec 2014, 07:27 AM
Hi.

I have a custom appointment with some additional properties. When I change these properties I update appointments End time and Subject, but I see the changes only after I click on OK button. Calling OnPropertyChanged brings no effect. How can I update the UI in the edit dialog, so users can see the changes?

4 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 05 Jan 2015, 03:16 PM
Hello Stas,

This behavior of RadScheduleView is an expected one and this is how the dialog is designed to work - properties do not notify the UI while the EditAppointmentDialog is opened. Also, please notice that if the appointment is changed and the edit is canceled, the edited properties are not saved - only by clicking the "OK" button they could be saved.

We hope the provided information will help you. 

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
tarnegur
Top achievements
Rank 1
answered on 05 Jan 2015, 05:55 PM
Hello Nasko,

thank you for your answer.

I am not asking if this behaviour is expected or if it is a bug, I am asking, how to update the UI :-)
And I don't want to update the RadScheduleView, but the fields on the EditAppointmentDialog. The values of the properties of the edited appointment were changed, so the edit dialog shell just show the modified values.
0
Accepted
Nasko
Telerik team
answered on 08 Jan 2015, 02:54 PM
Hi Stas,

What we could suggest you is to check the following Code Library project that demonstrates how to handle the update of appointment properties in EditAppointmentDialog, please check it:
http://www.telerik.com/support/code-library/how-to-create-advanced-custom-editapointmentdialog

However, please notice that the fields of the dialog should be bound to custom properties in order to be able the changes to be visualized - the appointment properties does not notify about the made changes.

Hopes this helps.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
tarnegur
Top achievements
Rank 1
answered on 08 Jan 2015, 03:14 PM
Thank you.

I will add additional properties for the dialog.
Tags
ScheduleView
Asked by
tarnegur
Top achievements
Rank 1
Answers by
Nasko
Telerik team
tarnegur
Top achievements
Rank 1
Share this question
or