
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Extends the Grid.Mvc helper with AJAX paging, sorting, and column and form filtering.
Follow thse steps to use Grid.Mvc.Ajax
Include ~/Scripts/gridmvc-ext.js after your ~/Scripts/grimvc.js include.
Include ~/Content/ladda-bootstrap/ladda-themeless.min.css CSS after your Bootstrap CSS/LESS include.
Include Ladda-bootstrap Javascript via the ~/Scripts/ladda-bootstrap/ladda.min.js and ~/Scripts/ladda-bootstrap/spin.min.js.
Create a view model for you grid data, for example: public Person { public string FirstName { get; set; } public string LastName { get; set; } }
Add a Razor partial view for your grid data that uses an AjaxGrid as the model type, Where T is your view model type:
@using GridMvc.Html @using GridMvc.Sorting @model Grid.Mvc.Ajax.GridExtensions.AjaxGrid<Models.Person>
@Html.Grid(Model).Columns(columns => { columns.Add(c => c.FirstName); columns.Add(c => c.LastName); }).Sortable(true).WithPaging(10)
public JsonResult Persons() { var vm = new List() { new Person() { FirstName = "John", LastName = "Doe" } } .AsQueryable(); var ajaxGridFactory = new Grid.Mvc.Ajax.GridExtensions.AjaxGridFactory(); var grid = ajaxGridFactory.CreateAjaxGrid(vm, 1, false); }
public JsonResult PersonsPaged(int page) { var vm = new List() { new Person() { FirstName = "John", LastName = "Doe" } } .AsQueryable(); var ajaxGridFactory = new Grid.Mvc.Ajax.GridExtensions.AjaxGridFactory(); var grid = ajaxGridFactory.CreateAjaxGrid(vm, page, true); }
$(".grid-mvc").gridmvc().ajaxify({ getPagedData: '/Home/Persons', getData : '/Home/PersonsPaged', gridFilterForm: $("#gridFilters") });
FAQs
Extends the Grid.Mvc helper with AJAX paging, sorting, and column and form filtering.
We found that grid.mvc.ajax demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.