Back to Devexpress

Read-Only Data in JSON Format

aspnetcore-401021-devextreme-based-controls-concepts-bind-controls-to-data-read-only-data-in-json-format.md

latest967 B
Original Source

Read-Only Data in JSON Format

  • Sep 09, 2024
  • 3 minutes to read

DevExtreme-based ASP.NET Core controls can access JSON data an AJAX request returns from a resource.

You can configure access to JSON data in one of the following ways:

Note

These approaches use a data URL. You can specify the URL as described below.

How to Specify a JSON Data URL

You can specify a data URL in the following ways:

  • An absolute URL.

  • A virtual path the URL.Content method returns.

  • Use the following UrlHelper class methods to build a URL: