Skip to content

Bind DevExpress Blazor ListBox, ComboBox, and TagBox to a remote Web API service and use the CustomData property to implement custom data load logic.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/blazor-editors-custom-data-binding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Editors for Blazor - Custom data binding

This example binds DevExpress Blazor ListBox, ComboBox, and TagBox to a remote Web API service and uses the CustomData property to implement custom data load logic.

Data Editors - Custom data binding

Overview

To bind an editor to data from a Web API service, complete the following steps:

  1. Reference the DevExtreme.AspNet.Data library in your project. Add the following directives to files where you will write data loading code:

    • @using DevExtreme.AspNet.Data
    • @using DevExtreme.AspNet.Data.ResponseModel
  2. Use a component's CustomData property to implement an ansynchronous function. This function returns a Task<LoadResult> object and accepts the following parameters:

  3. In the remote service, implement an API controller and create a LoadResult object based on load options.

Files to Review

Documentation

ListBox

ComboBox

TagBox

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Bind DevExpress Blazor ListBox, ComboBox, and TagBox to a remote Web API service and use the CustomData property to implement custom data load logic.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 5

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy