bind scheduleView with appointments

1 posts, 0 answers
  1. guy
    guy avatar
    46 posts
    Member since:
    Sep 2010

    Posted 04 Sep 2012 Link to this post

    i checked this explanation from docomuntation abount how to bind appiintments to scheduleview

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

    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?
Back to Top