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

DataSource Binding Example

6 Answers 109 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 12 Dec 2008, 07:49 PM
Hello,

Referring to this here:

http://www.telerik.com/help/aspnet-ajax/schedule_databindingusingthedatasourceproperty.html

It doesn't seem this code handles recurring scenarios, where the user drags and moves a recurring appointment, or if they delete one of the recurring appointments...

Is that correct?

Thanks.

6 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 15 Dec 2008, 03:31 PM

The AppointmentInfo class defines RecurrenceRule, RecurrenceParentID and RecurrenceState which is sufficient to implement the recurrence functionality. More on recurring appointments you can read here:
http://www.telerik.com/help/aspnet-ajax/schedule_serversideworkingwithrecurringappointments.html.


All the best,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
SKS
Top achievements
Rank 1
answered on 29 Aug 2009, 11:40 PM
hello
i have two different types of appointments in my application.
how to display them in one radscheduler control?
thanks
0
Brian Mains
Top achievements
Rank 1
answered on 30 Aug 2009, 02:15 AM
Hello,

What do you mean two types of appointments?

Thanks.
0
SKS
Top achievements
Rank 1
answered on 30 Aug 2009, 08:26 PM
i have meetings data in one table and events data in another table.
there is a calendar for an employee which shows all meetings and events that this employee is scheduled to attend.

the radscheduler can be bound only to one datasource.how do i map the data from the 2 tables to show in the RADscheduler.
0
Brian Mains
Top achievements
Rank 1
answered on 31 Aug 2009, 12:18 PM
Union the two together using LINQ as one option:

List<SchedulerAppointment> appointments = new List<SchedulerAppointments>();
appointments.AddRange(from m in meetings
                                         select new SchedulerAppointment
                                         {
                                             StartDate = ..,
                                             ...
                                         });
appointments.AddRange(from m in events
                                         select new SchedulerAppointment
                                         {
                                             StartDate = ..,
                                             ...
                                         });

schedule1.Datasource = appointments;
schedule1.DataBind();

Or, you can use foreach looping to add to the appointments list.
0
shanker bangari
Top achievements
Rank 1
answered on 08 Jan 2010, 08:27 AM
Hi this is not working

my code is 

 RadScheduler1.DataSource = Calendermanager.sch_view_calendar(Radcomclass.SelectedValue.GetInteger());
           
            RadScheduler1.DataBind();

it,s not display the view 
Tags
Scheduler
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Peter
Telerik team
SKS
Top achievements
Rank 1
Brian Mains
Top achievements
Rank 1
shanker bangari
Top achievements
Rank 1
Share this question
or