telerik radscheduler view in wpf

734 views Asked by At

I am using a telerik RadScheduleView control to display employee records I have also added custom column names Employee name,start date,end date. Please help me on how to fetch data from the database and display it on the RadScheduleView control. I am new to Telerik control.

1

There are 1 answers

0
Sjeijoet On

In order to display Employees in the RadScheduleView you need to bind the AppointmentSource to a model representation (Employee) of the data from your database. Your model representation must implement IAppointment:

IAppointment Interface

I suppose you only require the End (Employee.EndDate), Start (Employee.StartDate) and Subject (Employee.Name) members for now.

That is as far as I can help you start off. More information on Telerik RadScheduleView database binding can be found in the following articles:

  1. Overview
  2. RadScheduleView Types and Sources
  3. Table Definitions and Relationships
  4. List item
  5. Models
  6. View and ViewModel

They even have a sample project for you: http://www.telerik.com/support/code-library/binding-to-database-example