Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
michaeltaylor1329 opened this issue Jul 2, 2020 · 0 comments

Comments

@michaeltaylor1329
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant