or
@(Html.Kendo().Grid(Model)
.Name("Grid")
.Columns(columns =>
{
columns.Template(@<input type="checkbox" />);
columns.Bound(r => r.RouteName);
})
.Pageable()
.Sortable()
.Scrollable()
.Filterable()
.DataSource(dataSource => dataSource
.Ajax()
.ServerOperation(false)
)
)
public
ActionResult Output()
{
ViewBag.Message =
"Location Name/Address Here"
;
ViewBag.Link =
"Location"
;
var fcon =
new
FruitEntities().Fruits;
ViewBag.Fruits = fcon;
return
View();
}
@{
ViewBag.Title = "Title";
}
<
h2
>Some grid should be here......</
h2
>
@{Html.Kendo().Grid<
HR360Dashboard.Models.Fruit
>()
.Name("Grid")
.BindTo((IEnumerable<
HR360Dashboard.Models.Fruit
>)ViewBag.Fruits)
.Columns(columns =>
{
columns.Bound(p => p.Fruit_ID);
columns.Bound(p => p.Name);
columns.Bound(p => p.Color);
})
.Pageable();
}
'Duplicate overload signature for 'data''
This occurs on line 9699 of the file, where the code reads ...
data(key:
string
): any;