Skip to content

The type or namespace name 'MVCGridToolbarModel' could not be found (are you missing a using directive or an assembly reference?) #204

@michaeltaylor1329

Description

@michaeltaylor1329

I have

  1. the MVCGrid Reference
  2. MVCGridToolbarModel.cls in the Models folder
  3. MVCGridConfig.cs in the App_Start folder
  4. <script src="~/MVCGridHandler.axd/script.js"></script> in the _Layout.cshtml view
  5. _MVCGridToolbar.cshtml in the Shared view folder
  6. in the web.config
  7. MVCGridConfig.RegisterGrids(); in Application_Start()
  8. @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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions