custom appointment change outside scheduler

2 posts, 0 answers
  1. Marek Kruk
    Marek Kruk avatar
    16 posts
    Member since:
    Mar 2009

    Posted 26 Jun 2012 Link to this post

    i have a custom appointment class. I define mapping and bind to scheduler. All works but i need to change my custom appointment outside sheduler and  see the change in the scheduler for example outside change "start date" or "backgroundid".
    How to get it.

    Thank you
  2. Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 29 Jun 2012 Link to this post

    Hi Marek,

    Thank you for writing.

    The default Appointment type implements the INotifyPropertyChanged interface and any changes to the properties of appointments are automatically reflected by RadScheduler. If you want to achieve this behavior, your custom appointments should also implement this interface.

    If your custom appointments inherit from the Appointment type, then you should be able to change the Summary and BackgroundId properties and get the scheduler to update automatically without any additional settings. If your implementation differs from this scenario or if you are still facing difficulties, please share more details on your approach. You can also post here some sample code which demonstrates how you are creating and using your custom appointments. This will let me provide you with a proper solution.

    Do not hesitate to write back if you need further help.

    All the best,
    Ivan Todorov
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Back to Top