Wednesday, June 10, 2015

Binding ScheduleView to Database - Overview

Telerik ScheduleView control is a scheduling component, for manage appointments or tasks, like Outlook.

Telerik documentation provides a useful guide and covers the most features and scenarios. But somehow, there is no documentation and training how to work with database. All the samples uses in-memory data sources, but no real-sample of save data in database.

Yes, I read this tutorial, and I tried this GitHub project. Unfortunately, those resources are not up-to-date, and they use very obsolete code and anti-pattern practices, and it is very difficult to read and customize.

Therefore, because it is so necessary, I think it would be good to write a comprehensive guide, step by step, how to use ScheduleView control with database.

I will use Sql server as database, Entity framework as ORM, and GitHub as repository.

You can explore and download the source code here:
https://github.com/YehudahA/ScheduleViewPractices/tree/master


Contents of this guide:

1. QuickStart The shortest way: using of inheritance from the ready class 'Appointment'
2. Considerations When is better to custom implement the 'IAppointment' interface.
3. Implement custom Appointment How to implement the IAppointment interface.
4. Categorize How to associate Appointment to category.
5. Categories editor Let the user Create/Change/Delete categories
6. Resources How to allocate resources to the Appointment.
7. Recurrence rule Configure repeating appointments.
8. Time marker Assign a time marker to Appointment

No comments:

Post a Comment