Update edit appointment dialog on property changed

5 posts, 1 answers
  1. tarnegur
    tarnegur avatar
    11 posts
    Member since:
    Jun 2014

    Posted 30 Dec 2014 Link to this post

    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?
  2. Nasko
    Admin
    Nasko avatar
    588 posts

    Posted 05 Jan 2015 Link to this post

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. tarnegur
    tarnegur avatar
    11 posts
    Member since:
    Jun 2014

    Posted 05 Jan 2015 in reply to Nasko Link to this post

    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.
  5. Answer
    Nasko
    Admin
    Nasko avatar
    588 posts

    Posted 08 Jan 2015 Link to this post

    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.

     
  6. tarnegur
    tarnegur avatar
    11 posts
    Member since:
    Jun 2014

    Posted 08 Jan 2015 in reply to Nasko Link to this post

    Thank you.

    I will add additional properties for the dialog.
Back to Top
UI for WPF is Visual Studio 2017 Ready