Class
ReadEventArgs

The class that describes the event arguments of the OnRead event of a Telerik component. Used to implement custom data source read operations - fetching data, paging, filtering, sorting and so on.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class ReadEventArgs : EventArgs

Inheritance: objectEventArgsReadEventArgs

Derived Classes: AutoCompleteReadEventArgsComboBoxReadEventArgsDropDownListReadEventArgsFileManagerReadEventArgsGridReadEventArgsListViewReadEventArgsMultiColumnComboBoxReadEventArgsMultiSelectReadEventArgs

Inherited Members EventArgs.Empty

Constructors

ReadEventArgs()

Declaration

cs-api-definition
public ReadEventArgs()

ReadEventArgs(DataSourceRequest)

Declaration

cs-api-definition
public ReadEventArgs(DataSourceRequest request)

Parameters

request

DataSourceRequest

Properties

Data

Defines the resulting data that is the result of the Read event. Use this to return data back to the component.

Declaration

cs-api-definition
public IEnumerable Data { get; set; }

Property Value

IEnumerable

Request

Defines the DataSourceRequest instance containing the sort, filter, paging and group state of the Telerik component. You can use the data from it to call the appropriate API in your project in order to implement custom logic.

Declaration

cs-api-definition
public DataSourceRequest Request { get; set; }

Property Value

DataSourceRequest

Total

Defines the total count of all data in the data source, excluding items that are filtered out. Use this to return the total count back to the component.

Declaration

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

Property Value

int