HI
I found that the generated code by UI for MVC Grid are not correct.
Add > New Scaffolded Item... > Kendo UI Scaffolder > UI for MVC Grid
Options : Editable/Ajax/InCell/Create/Update/Destroy
\Controllers\GridController.cs
The code generated by the newest Kendo UI Scaffolder :
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Menus_Create([DataSourceRequest]DataSourceRequest request, MenuClass menuClass)
{
ASP.NET MVC source EditingController.cs
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Editing_Create([DataSourceRequest] DataSourceRequest request, [Bind(Prefix = "models")]IEnumerable<ProductViewModel> products)
{
*Grid / Batch editing
http://demos.telerik.com/aspnet-mvc/grid/editing
The problems of code generated by newest Kendo UI Scaffolder :
.[Bind] expression lacked, any changes action should marks with [Bind], Right?
.The type of parameter Model not is IEnumerable<T>, Grid can create more than one record at a time, Right?
The generated code of Update/Destroy have the same problems as above.
---------------------------------------------
And I met another error while save changes using code generated by the newest Kendo UI Scaffolder:
Unhandled exception at line 9, column 30392 in http://localhost:43223/Scripts/kendo/2015.3.930/kendo.all.min.js
0x800a03ec - JavaScript Runtime error: ';' required
function(e,t){var n=e+t;return Le[n]=Le[n]||Function("d","return "+ve.expr(e,t))},setter:function(e){return He[e]=He[e]||Function("d,value",ve.expr(e)+"=value")},accessor:function(e){...
kendo.all.min.js have BUGS ???
===========================================================
*Error are marks from "return He[e]=" to ""=value")".
Visual Studio 2015 Enterprise
Telerik DevCraft 2015 Q2
Best regards
Chris
I found that the generated code by UI for MVC Grid are not correct.
Add > New Scaffolded Item... > Kendo UI Scaffolder > UI for MVC Grid
Options : Editable/Ajax/InCell/Create/Update/Destroy
\Controllers\GridController.cs
The code generated by the newest Kendo UI Scaffolder :
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Menus_Create([DataSourceRequest]DataSourceRequest request, MenuClass menuClass)
{
ASP.NET MVC source EditingController.cs
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Editing_Create([DataSourceRequest] DataSourceRequest request, [Bind(Prefix = "models")]IEnumerable<ProductViewModel> products)
{
*Grid / Batch editing
http://demos.telerik.com/aspnet-mvc/grid/editing
The problems of code generated by newest Kendo UI Scaffolder :
.[Bind] expression lacked, any changes action should marks with [Bind], Right?
.The type of parameter Model not is IEnumerable<T>, Grid can create more than one record at a time, Right?
The generated code of Update/Destroy have the same problems as above.
---------------------------------------------
And I met another error while save changes using code generated by the newest Kendo UI Scaffolder:
Unhandled exception at line 9, column 30392 in http://localhost:43223/Scripts/kendo/2015.3.930/kendo.all.min.js
0x800a03ec - JavaScript Runtime error: ';' required
function(e,t){var n=e+t;return Le[n]=Le[n]||Function("d","return "+ve.expr(e,t))},setter:function(e){return He[e]=He[e]||Function("d,value",ve.expr(e)+"=value")},accessor:function(e){...
kendo.all.min.js have BUGS ???
===========================================================
*Error are marks from "return He[e]=" to ""=value")".
Visual Studio 2015 Enterprise
Telerik DevCraft 2015 Q2
Best regards
Chris