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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Passing Resources LoadOnDemand

Thread ID:





142157 Jan 22,2019 10:16 AM UTC Jan 25,2019 09:52 AM UTC ASP.NET Web Forms 3
Tags: Schedule
James Osborne
Asked On January 22, 2019 10:16 AM UTC

is it possible to pass a collection of resources with appointments data using ladondemand?

Nevitha Ravi [Syncfusion]
Replied On January 23, 2019 03:03 PM UTC

Hi James, 

Yes it is possible to pass resource collection as additional parameter in appointmentSettings.query and for the same we have prepared a sample for your reference which can be downloaded from the following link. 

<script type="text/javascript"> 
    function onCreate() { 
        var schObj = $('#Schedule1').ejSchedule("instance"); 
        var query = new ej.Query().addParams('Resources', schObj.model.resources[0].resourceSettings.dataSource); 
        schObj.option("appointmentSettings.query", query);  
 [ScriptMethod(ResponseFormat = ResponseFormat.Json)] 
 public static object GetData(String CurrentView, String CurrentAction, DateTime CurrentDate, ArrayList Resources) 

Please check the sample and let us know if you need further assistance. 


James Osborne
Replied On January 24, 2019 09:11 AM UTC

appolgies I meant passing from the web method not to the web method

Karthigeyan Krishnamurthi [Syncfusion]
Replied On January 25, 2019 09:52 AM UTC

Thanks for your update. 
Currently it is not possible to send the resource collection along with appointments from back end during initial load using load on demand concept. 


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

Live Chat Icon For mobile
Live Chat Icon