Example of Remote Data in ASP.NET MVC MultiColumn ComboBox Control

This sample demonstrates the remote data-binding supported in the MultiColumn ComboBox.

DEMO
SOURCE

The MultiColumn ComboBox loads the remote data services through the DataSource property. It supports data types such as JavaScript object arrays or DataManager.

The DataManager, act as an interface between service endpoint and MultiColumn ComboBox will require the following minimal information to interact with the service endpoint properly.

  • DataManager{'->'}url - Defines the service endpoint to fetch data.
  • DataManager{'->'}adaptor - Defines the adaptor option. By default, ODataAdaptor is used for remote binding.

The 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:

  • UrlAdaptor - Use this to interact any remote services.
  • 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.

In this sample, remote data is bound to a collection of employees data as an instance of DataManager and WebApiAdaptor.

Transform your ASP.NET MVC web apps today with Syncfusion® ASP.NET MVC components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab