Class
DataSourceRequest

Provides information about paging, sorting, filtering and grouping of data. Usually created by a Telerik component and sent to a backend that will consume this data. Often used together with the DataSourceResult class that can automatically perform the needed operations over the full set of data.

Definition

Namespace:Telerik.DataSource

Assembly:Telerik.DataSource.dll

Syntax:

cs-api-definition
public class DataSourceRequest

Inheritance: objectDataSourceRequest

Constructors

DataSourceRequest()

Declaration

cs-api-definition
public DataSourceRequest()

Properties

Aggregates

The data aggregation.

Declaration

cs-api-definition
public IList<AggregateDescriptor> Aggregates { get; set; }

Property Value

IList<AggregateDescriptor>

Filters

The filtering information for the data.

Declaration

cs-api-definition
public IList<IFilterDescriptor> Filters { get; set; }

Property Value

IList<IFilterDescriptor>

GroupPaging

Indicates whether group paging is enabled.

Declaration

cs-api-definition
public bool GroupPaging { get; set; }

Property Value

bool

Groups

The grouping information for the data.

Declaration

cs-api-definition
public IList<GroupDescriptor> Groups { get; set; }

Property Value

IList<GroupDescriptor>

Page

The current page.

Declaration

cs-api-definition
public int Page { get; set; }

Property Value

int

PageSize

The page size.

Declaration

cs-api-definition
public int PageSize { get; set; }

Property Value

int

Skip

The number of items to skip

Declaration

cs-api-definition
public int Skip { get; set; }

Property Value

int

Sorts

The sorting information for the data.

Declaration

cs-api-definition
public IList<SortDescriptor> Sorts { get; set; }

Property Value

IList<SortDescriptor>

Extension Methods