We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Load schedule dynamic through ajax - don't want to use on demand load

Thread ID:





120116 Sep 2,2015 03:03 AM UTC Sep 22,2015 12:36 PM UTC ASP.NET MVC 3
Tags: Schedule
Vivek Satheeshkumar
Asked On September 2, 2015 03:03 AM UTC


I am using schedule control with horizontal view and, multiple resource grouping , based on some drop downs in my view need to repopulate everything in the schedule , like groups, resources, appointments...

I need to load resources and appointments when user select an office from drop down.

I tried some thing like this below and not working, its just for appointments, i need to load resources also via ajax. 
i am writing all the javascript code in a separate js file

var url = $('#schedule').data('request-url');
            url: url,
            type: "GET",
            dataType: 'json',
            contentType: "application/json; charset=utf-8",
            success: function (data) {
                //$("#Schedule1").ejSchedule({ group: { resources: [args.model.text, "Owners"] } });
                    appointmentSettings: {
                        dataSource: data,
                        id: "StaffId",
                        subject: "Subject",
                        startTime: "StartTime",
                        endTime: "EndTime",
                        description: "Description",
                        allDay: "AllDay",
                        recurrence: "Recurrence",
                        recurrenceRule: "RecurrenceRule",
                        resourceFields: "GroupId,StaffId"

Karthigeyan Krishnamurthi [Syncfusion]
Replied On September 2, 2015 02:30 PM UTC

Hi Vivek,
Thanks for contacting Syncfusion Support.
We have found the same query has been posted in this forum as well as in incident, which is created under your account. So, we addressed your query in that incident itself with proper details. Therefore, we request you to keep track on the incident to know more details about this requirement.
Please let us know if you need any further assistance on this.

Replied On September 21, 2015 08:02 AM UTC

Where was this answered?

Karthigeyan Krishnamurthi [Syncfusion]
Replied On September 22, 2015 12:36 PM UTC

Hi Fanisa,

We have prepared the sample to meet the requirement “Load schedule dynamic through ajax - don't want to use on demand load”, which can be downloaded from the following location.


In the above sample we have used the local database (ScheduleData.mdf), which contains the tables “Appointments, Resources, Groups, OfficeTypes” with requested field values. And displayed the “officetype (office1, office2)” in the dropdown and based on the selection we have filtered the “Groups, Resources and Appointments” and rendered the Schedule control based on the filtered data.

 We have removed the packages references from the above sample. Therefore, we request you to add the necessary packages reference before running the sample.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon