Hi Guys.
I am facing the problem of Popup Grid (kendo Grid) Cancel button.When I choose cancel on Popup editing, the entire row is deleted.
I saw so many threads in kendo grid forum but didn't help me.
I attached this related files.
Can somebody plz help me to fix this issue ?
Thanks
Rajesh
3 Answers, 1 is accepted
0
Nikolay Rusev
Telerik team
answered on 23 Sep 2014, 12:19 PM
Hello Rajesh,
This behavior is usually observer when there isn't `id` defined for the model or if the item, which is being cancelled, has default value of the `id` field.
In your setup there is defintion for Model.Id, however it is not obvious how the grid is bound. Read method points to some dummy action method which doesn't exists in the provided files: `.Read("Dummy", "Dummy") `.
The following article explains how to properly setup the Grid and how to implement controller methods in order to have editable grid working correctly: Grid Ajax Editing.
Regards,
Nikolay Rusev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
found the answer
http://www.telerik.com/forums/use-gird-editable-%27popup%27-when-click-edit-button-and-pop-up-a-dialog-and-click-%27cancel%27-the-edit-row-will-be-deleted