New to Telerik UI for ASP.NET CoreStart a free 30-day trial

Filters

Updated on Oct 24, 2025

To request filtered data on initial load, configure the filters with the FilterDescriptorFactory. the ToDataSourceResult() extension method will return only the filtered data in the response object.

  • The Filter method sets the initial filters.
Razor
    @(Html.Kendo().DataSource<ProductViewModel>()
        .Name("myDataSource")
        .Ajax(datasource => datasource
            .Read(read => read.Action("Products_Read", "Home"))
            .Filter(filters =>
            {
                //Show products whose ProductName property contains a "C".
                filters.Add(product => product.ProductName).Contains("C");
                //Show products whose UnitsInStock is greater than 10.
                filters.Add(product => product.UnitsInStock).IsGreaterThan(10);
            })
        )
    )

See Also

In this article
See Also
Not finding the help you need?
Contact Support