New to Telerik UI for ASP.NET MVC? Download free 30-day trial

DataSourceFilterCompositeBuilder

Methods

And()

Includes And condition to the filter

Example


            .DataSource(dataSource => dataSource
                    .Ajax()
                    .Filter(f => f.Add(o => o.Freight).IsLessThan(30).And().IsGreaterThan(10))
            )

Or()

Includes Or condition to the filter

Example


            .DataSource(dataSource => dataSource
                    .Ajax()
                    .Filter(f => f.Add(o => o.Freight).IsLessThan(30).Or().IsGreaterThan(10))
            )

In this article
Not finding the help you need?