I've created a basic grid, but when the Create is clicked in the toolbar, it seems like the Read-method is called on the controller. Besides this, the constructor of the DossierType is not called ?
Is there any api available that I can use to direct the grid to a specific method, used during the build of the entity ?
Is there any api available that I can use to direct the grid to a specific method, used during the build of the entity ?
@(Html.Kendo().Grid<DossierType>() .Name("dossierTypes") .PrefixUrlParameters(false) .Columns(columns => { columns.Bound(user => user.Sample); } ) .ToolBar(toolbar => toolbar.Create().Text("Nieuw Dossiertype")) .Editable(editable => editable.Mode(GridEditMode.PopUp)) .BindTo(Model.Items) .DataSource(config => config .Server() .Model(modelConfig => modelConfig.Id(field => field.Id)) .Create(create => create.Action("Create", "DossierType")) .Read(read => read.Action("Read", "DossierType")) .Update(update => update.Action("Update", "DossierType")) .Destroy(destroy => destroy.Action("Remove", "DossierType")) ) )