Example of Remote Data in ASP.NET MVC Scheduler Control
This demo showcases the way of binding remote services to Scheduler component. Here, the DataManager is used to bind the remote data with Schedule.
Scheduler can be bound to remote services by assigning the
DataSource
property with the instance of
DataManageropens in a new tab
.
The DataManager here acts as an interface between the service endpoint and the Schedule, and will require the below minimal information to interact with the service endpoint properly.
-
Url
- Defines the service endpoint from where the data needs to be fetched -
Adaptor
- Defines the adaptor option. By default,ODataAdaptor
is used for remote binding.
Adaptor is responsible for processing response and request from/to the service endpoint.
@syncfusion/ej2-data
package provides some predefined adaptors which are designed to interact with particular service endpoints. They
are as follows,
-
UrlAdaptor
- Use this to interact with any remote services. This is the base adaptor for all the remote based adaptors. -
ODataAdaptor
- Use this to interact with OData endpoints. -
ODataV4Adaptor
- Use this to interact with OData V4 endpoints. -
WebApiAdaptor
- Use this to interact with Web API created under OData standards. -
WebMethodAdaptor
- Use this to interact with web methods.