This question is locked. New answers and comments are not allowed.
I am using version 2010.3.1110.235
This is how my grid looks.
The page renders fine with "Add new record", Edit and Delete buttons.
But when I click on them the page refreshes and nothing happens.
what am i missing.
Thanks
This is how my grid looks.
The page renders fine with "Add new record", Edit and Delete buttons.
But when I click on them the page refreshes and nothing happens.
what am i missing.
Thanks
<% Html.Telerik().Grid<DaoAdmin.Models.OrderEditModel>() .Name("Orders") .DataKeys(Keys => { Keys.Add(c => c.OrderId); }) .ToolBar(commands => commands.Insert().ButtonType(GridButtonType.ImageAndText).ImageHtmlAttributes(new { style = "margin-left:0" })) .DataBinding(dataBinding => { dataBinding.Ajax() .Select("GetOrders", "Order") .Insert("InsertOrder", "Order") .Update("SaveOrder", "Order") .Delete("DeleteOrder", "Order"); }) .Columns(columns => { columns.Bound(ord => ord.OrderId).Width(100); columns.Bound(ord => ord.FirstName).Width(200); columns.Bound(ord => ord.LastName).Width(200); columns.Command(commands => { commands.Edit().ButtonType(GridButtonType.ImageAndText); commands.Delete().ButtonType(GridButtonType.ImageAndText); }).Width(180).Title("Commands"); }) .Editable(editing => editing.Mode(GridEditMode.PopUp)) .Pageable(paging => paging.PageSize(20)) .Scrollable(scrolling => scrolling.Height(580)) .Sortable() .Render(); %>