I have a Listview with two templates, one for show the rows info and another for edit mode. My problem is: every time i click in update or delete always triggers the create event and with cancel delete the row... What I'm doing wrong?
Usually such issues are connected with the model ID.
I noticed that you have defined the ID field in the DataSource configuration.
dataSource.Model(m => m.Id("NomineeId"));
Could you please confirm that the field name is correct (it is case sensitive)? Could you please confirm that each existing record in the dataSource has unique ID different from 0/null?
The dataSource will consider a given record as newly created if it have no ID value or if its ID value is equal to the default one. If the record has ID it should be updated via update transport.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
thank you very much... that was exactly my problem... I initialize the Id in 0 and that make the new item and the first item created had the same id.. so.. i change the id to start in 1.. and is working perfectly..