MVCGrid.Net
MVCGrid.Net copied to clipboard
The type or namespace name 'MVCGridToolbarModel' could not be found (are you missing a using directive or an assembly reference?)
I have
- the MVCGrid Reference
- MVCGridToolbarModel.cls in the Models folder
- MVCGridConfig.cs in the App_Start folder
- in the _Layout.cshtml view
- _MVCGridToolbar.cshtml in the Shared view folder
-
in the web.config - MVCGridConfig.RegisterGrids(); in Application_Start()
- @Html.Partial("_MVCGridToolbar", new MVCGridToolbarModel() { MVCGridName = "Orders", PageSize = true, ColumnVisibility = true, Export = true, GlobalSearch = true }) @Html.MVCGrid("Orders") In the Index.cshtml view
What am I missing?
thanks!