Telerik Extensions for ASP.NET MVC

Version Q2 2012, released 06/07/2012

Filtering

Filter by ...

Order ID
Filter
Contact Name
Filter
Ship Address
Filter
Order Date
Filter
10401Paula Wilson2817 Milton Dr.01/01/1997
10479Paula Wilson2817 Milton Dr.03/19/1997
10272Paula Wilson2817 Milton Dr.08/02/1996
10262Paula Wilson2817 Milton Dr.07/22/1996
10314Paula Wilson2817 Milton Dr.09/25/1996
10316Paula Wilson2817 Milton Dr.09/27/1996
10294Paula Wilson2817 Milton Dr.08/30/1996
10346Paula Wilson2817 Milton Dr.11/05/1996
10820Paula Wilson2817 Milton Dr.01/07/1998
10761Paula Wilson2817 Milton Dr.12/02/1997
Displaying items 1 - 10 of 32

About this example ASPXRazor

This example shows the filtering feature of Telerik Grid for ASP.NET MVC.

To enable filtering use the Filterable method:

<%= Html.Telerik().Grid(Model)
        .Name("Grid")
        .Filterable()
%>

You can also filter the grid initially:

<%= Html.Telerik().Grid(Model)
        .Name("Grid")
        .Filterable(filtering => filtering.Filters(filters => 
        {
            filters.Add(o => o.ContactName).StartsWith("Paul").And().EndsWith("Wilson");
        }))
%>

Interested in HTML5 and mobile-powered ASP.NET MVC apps?

Experience the next generation UI and framework for ASP.NET MVC development by downloading trial evaluation copy of Kendo UI Complete for ASP.NET MVC. Jumpstart your development with the available learning resources.

The differences between Telerik MVC Extensions and Kendo UI Complete for ASP.NET MVC, and their licensing models are explained here and here.

If you have any questions, do not hesitate to contact us at sales@telerik.com.

Other Demos: