This question is locked. New answers and comments are not allowed.
I have a grid setup to do everything via ajax. When the page containg the grid load it initiates the select request and shows a page of data. However the paging links do nothing or direct the browser to "#". The refresh button takes the browser to ?Grid-size=10. In short nothing works.
There are NO errors reported (which is really really annoying).
My grid is defined as:
jquery
common
grid.editing
grid
There are NO errors reported (which is really really annoying).
My grid is defined as:
Html.Telerik().Grid<InspectorViewModel>()The following telerik scripts have loaded (in this order):
.Name("Grid")
.DataKeys(p=>p.Add(x=>x.Id))
.Columns(columns =>
{
columns.Bound(o => o.InternalReferenceId).Title("Inspector Id").Width(100).Sortable(false);
columns.Bound(o => o.Name).Title("Inspector Name").Sortable(false);
columns.Bound(o => o.Id).ClientTemplate(@"<div class=""actionlinks""><a href=""#"" class=""editlink"">Edit</a> | <a href=""#"" class=""deletelink"">Delete</a></div>").Sortable(false).Title("Action").Width(100);
})
.DataBinding(db =>
{
db.Ajax().Select("ListGrid", "Inspector");
db.Ajax().Delete("Delete", "Inspector");
db.Ajax().Update("Edit", "Inspector");
}
)
.Editable(p=>p.Enabled(true))
.ClientEvents(p=>p.OnRowDataBound("rowBound").OnDataBound("listBound"))
.Selectable()
.Sortable()
.Pageable()
.EnableCustomBinding(true).Render();
jquery
common
grid.editing
grid