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

custom appointment change outside scheduler

1 Answer 88 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Marek Kruk
Top achievements
Rank 1
Marek Kruk asked on 26 Jun 2012, 03:36 PM
Hi,
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

1 Answer, 1 is accepted

Sort by
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.

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 >>
Tags
Scheduler and Reminder
Asked by
Marek Kruk
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or