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.
Inheritance
Namespace: Telerik.DataSource
Assembly: Telerik.DataSource.dll
Syntax
public class DataSourceRequest : Object
Constructors
DataSourceRequest()
Declaration
public DataSourceRequest()
Properties
Aggregates
The data aggregation.
Declaration
public IList<AggregateDescriptor> Aggregates { get; set; }
Property Value
System.Collections.Generic.IList<AggregateDescriptor>
|
Filters
The filtering information for the data.
Declaration
public IList<IFilterDescriptor> Filters { get; set; }
Property Value
System.Collections.Generic.IList<IFilterDescriptor>
|
GroupPaging
Indicates whether group paging is enabled.
Declaration
public bool GroupPaging { get; set; }
Property Value
System.Boolean
|
Groups
The grouping information for the data.
Declaration
public IList<GroupDescriptor> Groups { get; set; }
Property Value
System.Collections.Generic.IList<GroupDescriptor>
|
Page
The current page.
Declaration
public int Page { get; set; }
Property Value
System.Int32
|
PageSize
The page size.
Declaration
public int PageSize { get; set; }
Property Value
System.Int32
|
Skip
The number of items to skip
Declaration
public int Skip { get; set; }
Property Value
System.Int32
|
Sorts
The sorting information for the data.
Declaration
public IList<SortDescriptor> Sorts { get; set; }
Property Value
System.Collections.Generic.IList<SortDescriptor>
|