This question is locked. New answers and comments are not allowed.
I can't figure out how I can provide the necessary id parameter for the .Delete<SprintController>(sc=>sc.AjaxGridDelete(id)) and .Update method.
I can't just leave it blank like with .Delete("AjaxGridDelete","Sprint") because it is syntax checked.
I can't just leave it blank like with .Delete("AjaxGridDelete","Sprint") because it is syntax checked.
| Html.Telerik().Grid<RenderSprint>() |
| .BindTo(Model) |
| .Name("SprintGrid") |
| .Localizable("de-DE") //ToDo Culture allgemein ersetzen |
| // .Selectable() // - nett aber nutzlos. |
| .ToolBar(tb => { |
| tb.Insert(); |
| tb.Custom().Action<SprintController>(sc => sc.Aggregate()).Text("Aggregate"); // ToDo hier muss ich Ajax machen. |
| }) |
| .DataBinding(b => b.Ajax() |
| .Select<SprintController>(sc => sc.AjaxGridSelect()) |
| //ToDo .Delete<SprintController>(sc => sc.AjaxGridDelete()) |
| .Delete("AjaxGridDelete", "Sprint") |
| .Insert<SprintController>(sc => sc.AjaxGridInsert()) |
| // ToDo .Update<SprintController>(sc => sc.AjaxGridUpdate())) |
| .Update("AjaxGridUpdate", "Sprint")) |