Call code:
@(
Html.Kendo().Grid<HomeFlat>()
.Name("TestGridName")
.DataSource(dataSource => dataSource
.Ajax()
.ServerOperation(true)
.Model(model =>
{
model.Id(p => p.TestProperty);
model.Field(p => p.TestProperty).Editable(false);
}
)
.Read(read => read.Action("Action_Test", "Home"))
)
)
The error you get with the build:
Critical error was detected at line 74, column 9 in http://localhost:XXXX/.
SCRIPT1002: Syntax error