开发者

ASPNET MVC 3 scaffolding with ajaxgrid or jqgrid

开发者 https://www.devze.com 2023-04-11 17:52 出处:网络
I have an ASPNET MVC 3 project made with Entity Framework 4 (database first). I\'m trying to use scaffolding to create CRUDs with jqgrid following: MVC Custom Scaffolding

I have an ASPNET MVC 3 project made with Entity Framework 4 (database first). I'm trying to use scaffolding to create CRUDs with jqgrid following: MVC Custom Scaffolding

But when I run something like Scaffold ControllerWithAjaxGrid StockItem it says:

Invoke-Scaffolder : A positional parameter cannot be found that accepts argument 'StockItem'. At line:1 char:9 + Scaffold <<<< ControllerWithAjaxGrid StockItem + CategoryInfo : InvalidArgument: (:) [Invoke-Scaffolder], ParameterBindingE开发者_如何学编程xception + FullyQualifiedErrorId : PositionalParameterNotFound,T4Scaffolding.Cmdlets.InvokeScaffolderCmdlet

Any ideas?

I'm tried to use the MVCScaffolding from nuget packages as well (Ajax Grid Scaffolder) but it doesn't show add nor edit or delete buttons). Any ideas on that one? I prefer to use the first one if possible.

Thanks in advance! Guillermo.


I needed to copy the T4 templates, that, of course, made it work.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号