Hi, i have a custom appointment class. I define mapping and bind to scheduler. All works but i need tochange my custom appointmentoutside sheduler and see the changein thescheduler for example outside change "start date" or "backgroundid". How to getit.
Thank you
1 Answer, 1 is accepted
0
Ivan Todorov
Telerik team
answered on 29 Jun 2012, 12:52 PM
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.