@model IEnumerable<dynamic>
@(
Html.Kendo().Grid(Model).Name("resgrid")
.RowAction(row =>
{
row.HtmlAttributes["style"] = "background:red;";
})
.CellAction(cell =>
{
cell.HtmlAttributes["style"] = "background:red;";
})
.DataSource(ds => ds.Custom()
.Transport(t=>t.Read(r =>
{
r.Url("../Report/ResultGridRead/" + @ViewBag.ID).DataType("json");
}))
)
.Events(e=>e.DataBinding("DataBinding").DataBound("DataBound"))
)
@(
Html.Kendo().Grid(Model).Name("resgrid")
.RowAction(row =>
{
row.HtmlAttributes["style"] = "background:red;";
})
.CellAction(cell =>
{
cell.HtmlAttributes["style"] = "background:red;";
})
.DataSource(ds => ds.Custom()
.Transport(t=>t.Read(r =>
{
r.Url("../Report/ResultGridRead/" + @ViewBag.ID).DataType("json");
}))
)
.Events(e=>e.DataBinding("DataBinding").DataBound("DataBound"))
)