RadScheduler control for winform - Integration problem

2 posts, 0 answers
  1. Mahesh
    Mahesh avatar
    5 posts
    Member since:
    May 2009

    Posted 19 May 2009 Link to this post


    I am using VS2008/C#/XP proffesional win application with MS Access DB.

    I not sure what version i want to download to work perfectly(i have downloaded Telerik DLLs from Telerik site "RadControls for WinForms Q3 2008 SP2.zip".

    I am getting lots of problem in RadScheduler control for winform integration. I have downloaded some samply aplication in Telerik site but its giving error.


    Can anybody please guide me what is the problem in below code.

    Error List:

    • I am not able to get the “Resource” propertly in appointmentMappingInfo
    • If I comment below 5 lines means its working but recurrence part will not work

              //appointmentMappingInfo.Resources = "Appointments_AppointmentsResources";

                //appointmentMappingInfo.ResourceId = "ResourceID";

             //appointmentMappingInfo.RecurrenceRule = "RecurrenceRule";


    ResourceMappingInfo resourceMappingInfo = new ResourceMappingInfo();

                //resourceMappingInfo.Id = "ID";

             //resourceMappingInfo.Name = "ResourceName";


    I am getting error like “Object reference not set to an instance of an object”.







    private void BindToDataSet()


                if (this.schedulerDataSet == null)


                    this.schedulerDataSet = new SchedulerDataDataSet();


                    AppointmentsTableAdapter appointmentsAdapter = new AppointmentsTableAdapter();



                    ResourcesTableAdapter resourcesAdapter = new ResourcesTableAdapter();



                    AppointmentsResourcesTableAdapter appointmentsResourcesAdapter = new AppointmentsResourcesTableAdapter();




                SchedulerBindingDataSource dataSource = new SchedulerBindingDataSource();

                AppointmentMappingInfo appointmentMappingInfo = new AppointmentMappingInfo();

                appointmentMappingInfo.Start = "Start";

                appointmentMappingInfo.End = "End";

                appointmentMappingInfo.Summary = "Summary";

                appointmentMappingInfo.Description = "Description";

                appointmentMappingInfo.Location = "Location";

                appointmentMappingInfo.BackgroundId = "BackgroundID";

                appointmentMappingInfo.StatusId = "StatusID";

                appointmentMappingInfo.Resource = "Appointments_AppointmentsResources";

                appointmentMappingInfo.ResourceId = "ResourceID";

                appointmentMappingInfo.RecurrenceRule = "RecurrenceRule";


                dataSource.EventProvider.Mapping = appointmentMappingInfo;

                dataSource.EventProvider.DataSource = this.schedulerDataSet.Appointments;


                ResourceMappingInfo resourceMappingInfo = new ResourceMappingInfo();

                resourceMappingInfo.Id = "ID";

                resourceMappingInfo.Name = "ResourceName";


                dataSource.ResourceProvider.Mapping = resourceMappingInfo;

                dataSource.ResourceProvider.DataSource = this.schedulerDataSet.Resources;


                this.radSchedulerDemo.DataSource = dataSource;






    Can anybody please provide the code for saving scheduler appointment,resource and recurrence in MS Access DB?

    Below code I have used but not able to get or save the recurrence details.




    private void btnSave_Click(object sender, EventArgs e)


                AppointmentsTableAdapter appointmentsAdapter = new AppointmentsTableAdapter();



                AppointmentsResourcesTableAdapter appointmentsResourcesAdapter = new AppointmentsResourcesTableAdapter();







    Yesterday I got email from Telerik team and they are telling like I need to download new version of sample application. So Can Anybody please send me the sample working(Appointment,recurrence) application to me? Or Tell me the URL where exactly I want to go for download that samply working application



    Awaiting your reaply….


    Advance thanks


  2. Jordan
    Jordan avatar
    547 posts

    Posted 21 May 2009 Link to this post

    Hello Mahesh,

    Please refer to the answer in the following forum post:

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top