Skip to content

This blog shows how to use Webgrid in ASP.NET MVC. It displays model data in WebGrid in PartialView on selection change of Listbox value.

Notifications You must be signed in to change notification settings

geeksarray/webgrid-example-in-asp-net-mvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Webgrid example in ASP.NET MVC

This blog shows how to use Webgrid in ASP.NET MVC. It displays model data in WebGrid in PartialView on selection change of Listbox value.

For this tutorial you will create a view with ListBox. Listbox will have a list of categories from Northwind database. On selection of category, products under selected category will be shown in Webgrid. It loads partialview using jQuery to display Webgrid.

Files

  1. HTML View - with WebGrid HTML and jQuery functions.

  2. Home Controller - with action method to return product list from database.

After you implement code from this repo, you will see the WebGrid rendered like

ASP.NET MVC WebGrid

For more details visit - ASP.NET MVC

About

This blog shows how to use Webgrid in ASP.NET MVC. It displays model data in WebGrid in PartialView on selection change of Listbox value.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published