New to Telerik UI for BlazorStart a free 30-day trial

Represents the data response for complex controls like grids. Includes data, total, aggregates and errors.

Definition

Namespace:Telerik.DataSource

Assembly:Telerik.DataSource.dll

Syntax:

C#
public class DataSourceResult

Inheritance: objectDataSourceResult

Constructors

C#
public DataSourceResult()

Properties

Information for aggregates.

C#
public IEnumerable<AggregateResult> AggregateResults { get; set; }

The actual data that will be displayed in the control. Often it is only the current page of data.

C#
public IEnumerable Data { get; set; }

Information for errors that occured during the data source operation.

C#
public object Errors { get; set; }

The total number of records in the original data source. Used for calculating a pager, for example.

C#
public int Total { get; set; }