This is a migrated thread and some comments may be shown as answers.
bind scheduleView with appointments
0 Answers 15 Views
This is a migrated thread and some comments may be shown as answers.
guy
Top achievements
Rank 1
guy asked on 04 Sep 2012, 07:58 AM
Hi
i checked this explanation from docomuntation abount how to bind appiintments to scheduleview

<telerik:RadScheduleView AppointmentsSource="{Binding Appointments}">             
 <telerik:RadScheduleView.ViewDefinitions>                  
  <telerik:DayViewDefinition />                  
  <telerik:MonthViewDefinition />             
 </telerik:RadScheduleView.ViewDefinitions>
</telerik:RadScheduleView>

now from code i created appointments but appointments does not exsit

 Appointment appointment = new Appointment
                {
                    Start = item.scheduledstart.Value
                    ,End = item.scheduledend.Value
                    ,Subject = item.subject
                    ,Body = item.description
                    ,Url = string.Format("{0}id={1}", BaseAppontmetUrl, item.activityid.ToString())
                };

Appointmens  -- this return compilation error 

can you send me full example (maybe zip project) of binding appoitments?

No answers yet. Maybe you can help?

Asked by
guy
Top achievements
Rank 1
Share this question
or