Class DataSourceResult
Represents the data response for complex controls like grids. Includes data, total, aggregates and errors.
Inheritance
Namespace: Telerik.DataSource
Assembly: Telerik.DataSource.dll
Syntax
public class DataSourceResult : Object
Constructors
DataSourceResult()
Declaration
public DataSourceResult()
Properties
AggregateResults
Information for aggregates.
Declaration
public IEnumerable<AggregateResult> AggregateResults { get; set; }
Property Value
System.Collections.Generic.IEnumerable<AggregateResult>
|
Data
The actual data that will be displayed in the control. Often it is only the current page of data.
Declaration
public IEnumerable Data { get; set; }
Property Value
System.Collections.IEnumerable
|
Errors
Information for errors that occured during the data source operation.
Declaration
public object Errors { get; set; }
Property Value
System.Object
|
Total
The total number of records in the original data source. Used for calculating a pager, for example.
Declaration
public int Total { get; set; }
Property Value
System.Int32
|