This is a migrated thread and some comments may be shown as answers.

[Solved] Inline Editing not working in Kendo WIndow

1 Answer 205 Views
Grid
This is a migrated thread and some comments may be shown as answers.
crazy05
Top achievements
Rank 1
crazy05 asked on 13 Mar 2015, 08:28 PM
Hello,

I have a Grid as below. If I use the Grid in regular page, It is working fine. The same Grid I used in Kendo Window. When I click on Edit, Grid row is changing to Editable mode. After changing and Click on Update, controller is not getting fired and Grid is still in Editable mode. How Can I fire controller from Kendo WIndow ?

@(Html.Kendo().Grid(Model)
.Name("ZipGrid")
.HtmlAttributes(new { @class = "GridStyle" })
.Columns(columns =>
{
columns.Bound(p => p.Id).Hidden();
columns.Bound(p => p.ZipCode).Width(250);
columns.Command(command => { command.Edit(); command.Destroy(); }).Width(200);
})
.Editable(editable => editable.Mode(GridEditMode.InLine))
.ToolBar(toolBar =>
{
toolBar.Create().Text("Add Zip Code");
})
.Scrollable()
.DataSource(dataSource => dataSource
.Ajax()
.Events(events => events.Error("onError"))
.Model(model => model.Id(p => p.Id))
.Create(create => create.Action("AddZipCode", "Manage"))
.Read(read => read.Action("GetZipCode", "Manage"))
.Update(update => update.Action("UpdateZipCode", "Manage"))
.Destroy(Destroy => Destroy.Action("AddZipCode", "Manage")).ServerOperation(false)
)
)

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 17 Mar 2015, 04:25 PM
Hi,

I'm afraid it is not obvious what may be causing the issue you have described judging from the provided information. The grid's declaration looks OK.  Thus, it will be required to provide a small runnable sample in which the issue can be observed locally.

Regards,
Rosen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
crazy05
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or