Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridDevExtremeDataSource(Func<Uri, CancellationToken, Task<Stream>>, Uri) Constructor

Initializes a new instance of the GridDevExtremeDataSource<T> class with specified URL and function that generates an HTTP request.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public GridDevExtremeDataSource(
    Func<Uri, CancellationToken, Task<Stream>> httpRequestFunc,
    Uri url
)

#Parameters

Name Type Description
httpRequestFunc Func<Uri, CancellationToken, Task<Stream>>

An asynchronous function that generates an HTTP request to a service with the specified URL.

url Uri

A URL to the service’s controller action that processes HTTP requests.

#Remarks

Refer to the GridDevExtremeDataSource<T> class description for more information and examples.

See Also