Telerik Extensions for ASP.NET MVC

Version Q2 2012, released 06/07/2012

Operation Mode

The operation mode ...

Drag a column header and drop it here to group by that column
No records to display.
Displaying items 0 - 0 of 0

Event log

Clear log

About this example ASPXRazor

This example demonstrates the operation modes of Telerik Grid for ASP.NET MVC Ajax binding.

By default Telerik Grid for ASP.NET MVC will request data from the server every time the user changes the page, filters the grid, sorts or groups (server operation mode). When, client operation mode is enabled the grid will make only one request to the server and retrieve all data. After that all operations (paging, sorting, filtering and grouping) will be performed client-side. This would improve performance and will eliminate the need to hit the server for data.

To enable client operation mode you should use the OperationMode method:

     Html.Telerik().Grid(Model)
        .Name("Orders")
        .DataBinding(dataBinding => dataBinding
             .Ajax()
                   .OperationMode(GridOperationMode.Client) // <-- set the operation mode
                   .Select("Select", "Home")
        )
        .Pageable()
        .Sortable()

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: