Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MVC grid with sorting, paging and searching

Tags:

asp.net-mvc

Does anyone know any article or tutorial how to create nice grid for mvc with functions like columns sorting, paging and searching for items inside the grid?

like image 906
kosnkov Avatar asked Jan 05 '13 21:01

kosnkov


People also ask

How sorting is implemented in MVC?

Add sorting functionality to the Index method The query string value is provided by ASP.NET MVC as a parameter to the action method. The parameter is a string that's either "Name" or "Date", optionally followed by an underscore and the string "desc" to specify descending order. The default sort order is ascending.

What is PagedList MVC?

Pagination is a common requirement in a web application when it comes to show records from the databases or a static source. here we are going to do the pagination in MVC using PagedList nuget package. First create the MVC project and add a controller method to display the data records.

What is WebGrid in ASP.NET MVC?

In ASP.NET MVC, the new concept begins WebGrid. WebGrid is lightweight for showing data in report format. As you know, MVC is all about Model View Controller, in this article we will learn how to create a WebGrid and search data and show it in a WebGrid with Entity Framework.


2 Answers

Sorting, Filtering, and Paging with the Entity Framework in an ASP.NET MVC Application

like image 97
Martin4ndersen Avatar answered Nov 15 '22 15:11

Martin4ndersen


Now the best option is Grid.MVC . which you can download from Nuget. enter image description here

Website :https://gridmvc.codeplex.com/

Demo :http://gridmvc.azurewebsites.net/

Tutorial :http://www.codeproject.com/Tips/597253/Using-the-Grid-MVC-in-ASP-NET-MVC

like image 30
Umar Abbas Avatar answered Nov 15 '22 15:11

Umar Abbas