Problem with Displaying the appointments in the scheduler

2 posts, 0 answers
  1. K N
    K N avatar
    5 posts
    Member since:
    May 2010

    Posted 16 May 2010 Link to this post

    Hey you all, I'm having trouble displaying appointments in the scheduler !!! :( this is my code ...
    I used the video and I'm doing exactly as its done in the video but mine doesn't work and I'm frustrated !!! :((
            private void BindToDataSet() 
                if (this.SDS == null) 
                    this.SDS = new SchedulerDataDataSet(); 
                SchedulerBindingDataSource datasourse = new SchedulerBindingDataSource(); 
                AppointmentMappingInfo appointmentMappingInfo = new AppointmentMappingInfo(); 
                appointmentMappingInfo.Start = "StartOfClass"
                appointmentMappingInfo.End = "EndOfClass"
                appointmentMappingInfo.Summary = "ClassName"
                appointmentMappingInfo.Description = "Description"
                appointmentMappingInfo.MasterEventId = "MasterEventID"
                appointmentMappingInfo.Location = "Location"
                appointmentMappingInfo.BackgroundId = "BackgroundID"
                appointmentMappingInfo.RecurrenceRule = "RecurrenceRule"
                appointmentMappingInfo.Resources = "FK_ClassClassroom_Classes"
                appointmentMappingInfo.ResourceId = "ClassroomID"
                datasourse.EventProvider.Mapping = appointmentMappingInfo
                datasourse.EventProvider.DataSource = SDS.Classes; 
                // create and assign resource mapping 
                ResourceMappingInfo resourceMappingInfo = new ResourceMappingInfo(); 
                resourceMappingInfo.Id = "ClassroomID"
                resourceMappingInfo.Name = "ClassroomName"
                datasourse.ResourceProvider.Mapping = resourceMappingInfo
                datasourse.ResourceProvider.DataSource = SDS.Classrooms; 
                radScheduler1.DataSource = datasourse
                radScheduler1.GetDayView().RulerStartScale = 8
                radScheduler1.FocusedDate = DateTime.Today; 
                radScheduler1.GetDayView().RulerEndScale = 22
                radScheduler1.GetDayView().ShowRuler = true
                radScheduler1.GetDayView().DayCount = 1
                radScheduler1.GroupType = GroupType.Resource; 
                radScheduler1.ActiveView.ResourcesPerView = 5

  2. Dobry Zranchev
    Dobry Zranchev avatar
    348 posts

    Posted 18 May 2010 Link to this post

    Hi K N,

    Thank you for writing.

    Your code looks fine. I see tha you have another forum post on the topic, so let's continue the conversation there.

    A bit off topic, please ask the person who has purchased our controls in your company to add you as a License Developer to the purchase. This will give you full access to the products your company has purchased, to our downloads section, and to our support ticketing system. Additionally, all your questions will be reviewed according to the license you have. More information on License Developers you can find here:

    Dobry Zranchev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft R3 2016 release webinar banner
Back to Top